mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 10:45:41 +00:00
Add a toolbar button to instanciate services. Defaults to off if
* src/nautilus-window-toolbars.c: (toolbar_services_callback): Add a toolbar button to instanciate services. Defaults to off if EAZEL_SERVICES is not on. * icons/eazel/Makefile.am: * icons/eazel/Servics.png: Add services icon for toolbar.
This commit is contained in:
parent
2ce76a9a99
commit
dfe08514ee
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2000-07-10 Ramiro Estrugo <ramiro@eazel.com>
|
||||
|
||||
* src/nautilus-window-toolbars.c: (toolbar_services_callback):
|
||||
Add a toolbar button to instanciate services. Defaults to off if
|
||||
EAZEL_SERVICES is not on.
|
||||
|
||||
* icons/eazel/Makefile.am:
|
||||
* icons/eazel/Servics.png:
|
||||
Add services icon for toolbar.
|
||||
|
||||
2000-07-10 Robey Pointer <robey@eazel.com>
|
||||
|
||||
* components/services/trilobite/Makefile.am:
|
||||
|
|
|
@ -1,32 +1,36 @@
|
|||
NULL=
|
||||
|
||||
eazeldir = $(datadir)/pixmaps/nautilus/eazel
|
||||
|
||||
eazel_DATA = \
|
||||
Back.png \
|
||||
eazel.xml \
|
||||
Forward.png \
|
||||
Home.png \
|
||||
i-directory.png \
|
||||
Refresh.png \
|
||||
Search.png \
|
||||
Services.png \
|
||||
Stop.png \
|
||||
Up.png \
|
||||
eazel.xml \
|
||||
i-directory-12.png \
|
||||
i-directory-24.png \
|
||||
i-directory-36.png \
|
||||
i-directory-72.png \
|
||||
i-directory-96.png \
|
||||
i-directory-accept.png \
|
||||
i-directory-accept-12.png \
|
||||
i-directory-accept-24.png \
|
||||
i-directory-accept-36.png \
|
||||
i-directory-accept-72.png \
|
||||
i-directory-accept-96.png \
|
||||
i-regular.png \
|
||||
i-regular.xml \
|
||||
i-directory-accept.png \
|
||||
i-directory.png \
|
||||
i-regular-12.png \
|
||||
i-regular-24.png \
|
||||
i-regular-36.png \
|
||||
i-regular-72.png \
|
||||
i-regular-96.png \
|
||||
Refresh.png \
|
||||
Search.png \
|
||||
Stop.png \
|
||||
Up.png
|
||||
i-regular.png \
|
||||
i-regular.xml \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST = $(eazel_DATA)
|
||||
|
|
BIN
icons/eazel/Services.png
Normal file
BIN
icons/eazel/Services.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 766 B |
|
@ -37,6 +37,9 @@
|
|||
/* forward declarations */
|
||||
static void toolbar_reload_callback (GtkWidget *widget, NautilusWindow *window);
|
||||
static void toolbar_stop_callback (GtkWidget *widget, NautilusWindow *window);
|
||||
#if defined(EAZEL_SERVICES)
|
||||
static void toolbar_services_callback (GtkWidget *widget, NautilusWindow *window);
|
||||
#endif
|
||||
|
||||
/* toolbar definitions */
|
||||
|
||||
|
@ -49,6 +52,7 @@ static void toolbar_stop_callback (GtkWidget *widget, NautilusWindow *window);
|
|||
#define TOOLBAR_SEARCH_BUTTON_INDEX 6
|
||||
/* separator */
|
||||
#define TOOLBAR_STOP_BUTTON_INDEX 8
|
||||
#define TOOLBAR_SERVICES_INDEX 9
|
||||
|
||||
static void
|
||||
toolbar_clear_search_mode(NautilusWindow *window)
|
||||
|
@ -123,6 +127,11 @@ static GnomeUIInfo toolbar_info[] = {
|
|||
GNOMEUIINFO_ITEM_STOCK
|
||||
(N_("Stop"), N_("Interrupt loading"),
|
||||
toolbar_stop_callback, "nautilus/eazel/Stop.png"),
|
||||
#if defined(EAZEL_SERVICES)
|
||||
GNOMEUIINFO_ITEM_STOCK
|
||||
(N_("Services"), N_("Eazel Services"),
|
||||
toolbar_services_callback, "nautilus/eazel/Services.png"),
|
||||
#endif
|
||||
GNOMEUIINFO_END
|
||||
};
|
||||
|
||||
|
@ -345,3 +354,11 @@ toolbar_stop_callback (GtkWidget *widget, NautilusWindow *window)
|
|||
nautilus_window_set_state_info (window, RESET_TO_IDLE, 0);
|
||||
}
|
||||
|
||||
#if defined(EAZEL_SERVICES)
|
||||
static void
|
||||
toolbar_services_callback (GtkWidget *widget, NautilusWindow *window)
|
||||
{
|
||||
nautilus_window_goto_uri (window, "eazel:");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue