diff options
-rw-r--r-- | addressbook/ChangeLog | 15 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.h | 1 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/select-names.glade | 28 |
3 files changed, 43 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index b80b2ab802..2ccc025c4c 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,18 @@ +2002-03-04 Chris Toshok <toshok@ximian.com> + + [fixes bug #20871] + * gui/component/select-names/select-names.glade: add the + status-message label. + + * gui/component/select-names/e-select-names.h (struct + _ESelectNames): add status_message field. + + * gui/component/select-names/e-select-names.c (status_message): + new function, set the label's text from the message. + (e_select_names_init): get the status-message label, and if it's + valid, connect to the status_message signal of the + EAddressbookModel. + 2002-02-28 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): don't diff --git a/addressbook/gui/component/select-names/e-select-names.h b/addressbook/gui/component/select-names/e-select-names.h index 379a9ef137..9359bb4477 100644 --- a/addressbook/gui/component/select-names/e-select-names.h +++ b/addressbook/gui/component/select-names/e-select-names.h @@ -73,6 +73,7 @@ struct _ESelectNames GtkWidget *categories; GtkWidget *categories_entry; GtkWidget *search_entry; + GtkWidget *status_message; EvolutionStorageListener *local_listener; EvolutionStorageListener *other_contacts_listener; GHashTable *folders; diff --git a/addressbook/gui/component/select-names/select-names.glade b/addressbook/gui/component/select-names/select-names.glade index b1bacdc5ea..47d178735a 100644 --- a/addressbook/gui/component/select-names/select-names.glade +++ b/addressbook/gui/component/select-names/select-names.glade @@ -80,7 +80,7 @@ <widget> <class>GtkTable</class> <name>table-top</name> - <rows>2</rows> + <rows>3</rows> <columns>1</columns> <homogeneous>False</homogeneous> <row_spacing>0</row_spacing> @@ -394,6 +394,32 @@ </child> </widget> </widget> + + <widget> + <class>GtkLabel</class> + <name>status-message</name> + <label></label> + <justify>GTK_JUSTIFY_LEFT</justify> + <wrap>False</wrap> + <xalign>0</xalign> + <yalign>0.5</yalign> + <xpad>0</xpad> + <ypad>3</ypad> + <child> + <left_attach>0</left_attach> + <right_attach>1</right_attach> + <top_attach>2</top_attach> + <bottom_attach>3</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>False</yfill> + </child> + </widget> </widget> </widget> </widget> |