Mercurial > audlegacy
changeset 2210:165a62fdb49e trunk
[svn] - improve the presentation of the URL entry dialog
author | nenolod |
---|---|
date | Mon, 25 Dec 2006 08:44:29 -0800 |
parents | ec7b60e91a14 |
children | efa19af4640e |
files | ChangeLog audacious/util.c |
diffstat | 2 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Dec 24 07:37:57 2006 -0800 +++ b/ChangeLog Mon Dec 25 08:44:29 2006 -0800 @@ -1,3 +1,10 @@ +2006-12-24 15:37:57 +0000 Giacomo Lozito <james@develia.org> + revision [3423] + - more work done on playlist manager: playlist renaming and keyboard shortcuts + trunk/audacious/playlist_manager.c | 102 +++++++++++++++++++++++++++++++++++-- + 1 file changed, 97 insertions(+), 5 deletions(-) + + 2006-12-24 07:38:02 +0000 George Averill <nhjm449@gmail.com> revision [3421] - Center new windows so they don't get cut off by the edge of the screen.
--- a/audacious/util.c Sun Dec 24 07:37:57 2006 -0800 +++ b/audacious/util.c Mon Dec 25 08:44:29 2006 -0800 @@ -662,11 +662,12 @@ util_add_url_dialog_new(const gchar * caption, GCallback ok_func, GCallback enqueue_func) { - GtkWidget *win, *vbox, *bbox, *enqueue, *ok, *cancel, *combo, *entry; + GtkWidget *win, *vbox, *bbox, *enqueue, *ok, *cancel, *combo, *entry, + *label; GList *url; win = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_title(GTK_WINDOW(win), caption); + gtk_window_set_title(GTK_WINDOW(win), "Add/Open URL Dialog"); gtk_window_set_type_hint(GTK_WINDOW(win), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_window_set_position(GTK_WINDOW(win), GTK_WIN_POS_CENTER); gtk_window_set_default_size(GTK_WINDOW(win), 400, -1); @@ -675,6 +676,10 @@ vbox = gtk_vbox_new(FALSE, 10); gtk_container_add(GTK_CONTAINER(win), vbox); + label = gtk_label_new(caption); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); + gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); + combo = gtk_combo_box_entry_new_text(); gtk_box_pack_start(GTK_BOX(vbox), combo, FALSE, FALSE, 0);