From 518d8af11bdadf0245735ca632e9ec1e0e50a533 Mon Sep 17 00:00:00 2001 From: Anna Marie Dirks Date: Fri, 10 Aug 2001 01:04:44 +0000 Subject: redesigned this dialog to fix bug #6815. 2001-08-09 Anna Marie Dirks * gui/component/select-names/select-names.glade: redesigned this dialog to fix bug #6815. *gui/component/select-names/e-select-names.c: connected the widgets (or one of them anyway. clahey did the rest) for my new and lovely glade file. svn path=/trunk/; revision=11862 --- addressbook/ChangeLog | 8 + .../gui/component/select-names/e-select-names.c | 7 +- .../gui/component/select-names/select-names.glade | 481 ++++++++++++--------- 3 files changed, 302 insertions(+), 194 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 6be4a2ed47..8e49d1349c 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,11 @@ +2001-08-09 Anna Marie Dirks + * gui/component/select-names/select-names.glade: redesigned + this dialog to fix bug #6815. + + *gui/component/select-names/e-select-names.c: connected the + widgets (or one of them anyway. clahey did the rest) for my + new and lovely glade file. + 2001-08-09 Chris Toshok * gui/component/addressbook.c: remove passwd_cb. diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index 23e660f9ee..256ac3b03e 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -457,7 +457,7 @@ static void e_select_names_init (ESelectNames *e_select_names) { GladeXML *gui; - GtkWidget *widget; + GtkWidget *widget, *button; gui = glade_xml_new (EVOLUTION_GLADEDIR "/select-names.glade", NULL); e_select_names->gui = gui; @@ -504,6 +504,11 @@ e_select_names_init (ESelectNames *e_select_names) gtk_signal_connect(GTK_OBJECT(e_select_names->categories_entry), "changed", GTK_SIGNAL_FUNC(update_query), e_select_names); + button = glade_xml_get_widget (gui, "button-find"); + if (button) + gtk_signal_connect(GTK_OBJECT(button), "clicked", + GTK_SIGNAL_FUNC(update_query), e_select_names); + e_select_names->folders = g_hash_table_new(g_str_hash, g_str_equal); e_select_names_hookup_shell_listener (e_select_names); diff --git a/addressbook/gui/component/select-names/select-names.glade b/addressbook/gui/component/select-names/select-names.glade index e15a70b4ad..73882bb688 100644 --- a/addressbook/gui/component/select-names/select-names.glade +++ b/addressbook/gui/component/select-names/select-names.glade @@ -23,6 +23,8 @@ GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False + 417 + 332 False True False @@ -60,16 +62,16 @@ GtkButton - button1 + button4 True + True True GNOME_STOCK_BUTTON_OK GtkButton - button3 - True + button5 True GNOME_STOCK_BUTTON_CANCEL @@ -78,11 +80,11 @@ GtkTable table-top - 7 - 2 + 2 + 1 False - 6 - 6 + 0 + 0 0 True @@ -90,112 +92,119 @@ - Custom - table-source - e_addressbook_create_ebook_table - 0 - 0 - Sat, 10 Jun 2000 22:02:57 GMT + GtkVBox + vbox5 + False + 0 0 1 - 6 - 7 + 1 + 2 0 0 - True + False True False False True True - - - - GtkTable - table-recipients - 1 - 2 - False - 4 - 4 - - 1 - 2 - 6 - 7 - 0 - 0 - True - False - False - False - True - True - - GtkAccelLabel - accellabel2 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 + GtkTable + table4 + 1 + 2 + False + 6 + 6 - 1 - 2 - 0 - 1 - 0 - 0 - True - False - False - False - True - True + 0 + True + True - - - - GtkOptionMenu - optionmenu-folder - True - True - - 0 - - 0 - 1 - 1 - 2 - 0 - 0 - False - False - False - False - True - False - + + Custom + table-source + e_addressbook_create_ebook_table + 0 + 0 + Sat, 10 Jun 2000 22:02:57 GMT + + 0 + 1 + 0 + 1 + 0 + 0 + True + True + False + False + True + True + + + + + GtkTable + table-recipients + 1 + 2 + False + 4 + 4 + + 1 + 2 + 0 + 1 + 0 + 0 + True + False + False + False + True + True + + + + GtkLabel + label20 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 1 + 2 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + + + + - GtkLabel - label3 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 - entry-find + GtkVBox + dialog-vbox1 + False + 0 0 1 @@ -203,115 +212,201 @@ 1 0 0 - False + True False False False True False - - - GtkLabel - label2 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 - custom-categories - - 0 - 1 - 2 - 3 - 0 - 0 - False - False - False - False - True - True - - + + GtkVBox + vbox3 + 3 + False + 3 + + 0 + False + False + - - GtkLabel - label1 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 - entry-find - - 0 - 1 - 4 - 5 - 0 - 0 - False - False - False - False - True - True - - + + GtkLabel + label4 + + GTK_JUSTIFY_LEFT + False + 0 + 0.5 + 0 + 0 + + 0 + False + False + + - - GtkEntry - entry-find - True - True - True - 0 - - - 0 - 1 - 5 - 6 - 0 - 0 - True - False - False - False - True - True - - + + GtkHBox + hbox1 + 3 + False + 8 + + 0 + False + True + - - Custom - custom-categories - True - e_select_names_create_categories - 0 - 0 - Wed, 27 Jun 2001 01:47:01 GMT - - 0 - 1 - 3 - 4 - 0 - 0 - True - False - False - False - True - True - + + GtkLabel + label5 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + optionmenu-folder + + 0 + False + False + + + + + GtkOptionMenu + optionmenu-folder + True + + 0 + + 0 + True + True + + + + + GtkLabel + label6 + + GTK_JUSTIFY_RIGHT + False + 1 + 0.5 + 0 + 0 + custom-categories + + 0 + False + True + + + + + Custom + custom-categories + True + e_select_names_create_categories + 0 + 0 + Wed, 27 Jun 2001 01:47:01 GMT + + 0 + True + True + + + + + + GtkHBox + hbox2 + 3 + False + 3 + + 0 + True + True + + + + GtkLabel + label7 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + entry-find + + 0 + False + False + + + + + GtkEntry + entry-find + True + True + True + 0 + + + 0 + True + True + + + + + GtkHButtonBox + hbuttonbox1 + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + 85 + 27 + 7 + 0 + + 0 + False + False + + + + GtkButton + button-find + True + True + + GTK_RELIEF_NORMAL + + + + + + + GtkHSeparator + hseparator1 + + 8 + False + False + + -- cgit v1.2.3