aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-search-bar.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-12-02 11:28:22 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-12-02 11:28:22 +0800
commit4354c0ac032ef2837a80f801d1d1cad9036f2b37 (patch)
tree0d54c308c8ec1fe3ba4dd3bf32a5565df85d36b0 /widgets/misc/e-search-bar.c
parent9d77b85ae36094fd1a0b07be4ebb69e047c9cec1 (diff)
downloadgsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.tar
gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.tar.gz
gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.tar.bz2
gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.tar.lz
gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.tar.xz
gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.tar.zst
gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.zip
Add include of gnome-dialog.h
2002-11-27 Not Zed <NotZed@Ximian.com> * e-charset-picker.c: Add include of gnome-dialog.h * *.[ch]: ran fix.sh script over everything. svn path=/trunk/; revision=18978
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r--widgets/misc/e-search-bar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index afbfd72eb2..dd2fada5ec 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -310,7 +310,7 @@ activate_by_subitems (ESearchBar *esb, gint item_id, ESearchBarSubitem *subitems
if (esb->entry == NULL) {
esb->entry = gtk_entry_new();
- gtk_widget_set_usize (esb->entry, 4, -1);
+ gtk_widget_set_size_request (esb->entry, 4, -1);
g_object_ref (esb->entry);
g_signal_connect (esb->entry, "changed",
G_CALLBACK (entry_changed_cb), esb);
@@ -395,7 +395,7 @@ activate_by_subitems (ESearchBar *esb, gint item_id, ESearchBarSubitem *subitems
esb);
gtk_widget_show (menu_item);
- gtk_menu_append (GTK_MENU (menu), menu_item);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item);
}
gtk_option_menu_remove_menu (GTK_OPTION_MENU (esb->suboption));
@@ -636,7 +636,7 @@ set_option (ESearchBar *esb, ESearchBarItem *items)
gtk_widget_set_sensitive (item, FALSE);
}
- gtk_menu_append (GTK_MENU (menu), item);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);
g_object_set_data (G_OBJECT (item), "EsbChoiceId", GINT_TO_POINTER(items[i].id));