diff options
author | Chris Toshok <toshok@ximian.com> | 2002-03-05 07:42:19 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-03-05 07:42:19 +0800 |
commit | d4f86e526462653d01a82523ec92ce2e2c5ec837 (patch) | |
tree | 0e3ec3e4060f4cc4b0ce70dc0347d4c51e9f291a /addressbook | |
parent | 1bd6c04cf60a583d625c986941eb102e7f9c9055 (diff) | |
download | gsoc2013-evolution-d4f86e526462653d01a82523ec92ce2e2c5ec837.tar.gz gsoc2013-evolution-d4f86e526462653d01a82523ec92ce2e2c5ec837.tar.zst gsoc2013-evolution-d4f86e526462653d01a82523ec92ce2e2c5ec837.zip |
[fixes bug #20871] add the status-message label.
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.
svn path=/trunk/; revision=15913
Diffstat (limited to 'addressbook')
-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> |