diff options
author | Michael Meeks <michael@ximian.com> | 2002-07-02 16:07:26 +0000 |
---|---|---|
committer | Michael Meeks <michael@src.gnome.org> | 2002-07-02 16:07:26 +0000 |
commit | 81e2b8dc2cfd4fb19593b056c2b79ba45cd9bdf9 (patch) | |
tree | c8534d05ca84069c05a32d24da1e61295e004df4 /src/nautilus-bookmarks-window.c | |
parent | 2adbdf3539a8a6738126bcbda741dc099f0ea92e (diff) | |
download | nautilus-81e2b8dc2cfd4fb19593b056c2b79ba45cd9bdf9.tar.gz |
use new eel_glade_get_file.
2002-07-02 Michael Meeks <michael@ximian.com>
* src/nautilus-bookmarks-window.c
(create_bookmarks_window): use new eel_glade_get_file.
* configure.in: hack libglade out, we use eel now,
requires a recent eel.
* data/browser.xml: add mnemonics
* src/nautilus-property-browser.c
(nautilus_property_browser_init): don't shrink the
description text, un-bold description [ makes it
look ugly, but hey ].
Diffstat (limited to 'src/nautilus-bookmarks-window.c')
-rw-r--r-- | src/nautilus-bookmarks-window.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/nautilus-bookmarks-window.c b/src/nautilus-bookmarks-window.c index 90e54d5f5..940add52c 100644 --- a/src/nautilus-bookmarks-window.c +++ b/src/nautilus-bookmarks-window.c @@ -30,6 +30,7 @@ #include <libnautilus/nautilus-undo.h> #include <libnautilus-private/nautilus-global-preferences.h> #include <eel/eel-gtk-extensions.h> +#include <eel/eel-gnome-extensions.h> #include <libnautilus-private/nautilus-icon-factory.h> #include <libnautilus-private/nautilus-undo-signal-handlers.h> #include <gtk/gtkhbbox.h> @@ -214,13 +215,16 @@ create_bookmarks_window (NautilusBookmarkList *list, GObject *undo_manager_sourc bookmarks = list; - gui = glade_xml_new (GLADEDIR "/nautilus-bookmarks-window.glade", NULL, NULL); + gui = eel_glade_get_file (GLADEDIR "/nautilus-bookmarks-window.glade", + NULL, NULL, + "bookmarks_dialog", &window, + "bookmark_tree_view", &bookmark_list_widget, + "bookmark_delete_button", &remove_button, + NULL); if (!gui) { - g_warning ("Failed to locate " GLADEDIR "/nautilus-bookmarks-window.glade"); return NULL; } - window = glade_xml_get_widget (gui, "bookmarks_dialog"); set_up_close_accelerator (window); nautilus_undo_share_undo_manager (G_OBJECT (window), undo_manager_source); @@ -319,7 +323,6 @@ create_bookmarks_window (NautilusBookmarkList *list, GObject *undo_manager_sourc G_CALLBACK (on_text_field_focus_out_event), NULL); g_signal_connect (uri_field, "activate", G_CALLBACK (name_or_uri_field_activate), NULL); - remove_button = glade_xml_get_widget (gui, "bookmark_delete_button"); g_signal_connect (remove_button, "clicked", G_CALLBACK (on_remove_button_clicked), NULL); |