Commit 401f3d61 authored by Mark McLoughlin's avatar Mark McLoughlin Committed by Mark McLoughlin

ported to new stcok icons.

2001-10-19  Mark McLoughlin  <mark@skynet.ie>

        * bad-applet.c: (main): ported to new stcok icons.

        * foobar-widget.c: (append_gnome_menu): ditto.

        * gnome-run.c: (show_run_dialog), (load_run_applet): ditto.
parent 8fd26e3f
2001-10-19 Mark McLoughlin <mark@skynet.ie>
* bad-applet.c: (main): ported to new stcok icons.
* foobar-widget.c: (append_gnome_menu): ditto.
* gnome-run.c: (show_run_dialog), (load_run_applet): ditto.
2001-10-18 Mark McLoughlin <mark@skynet.ie>
* applet.c, basep-widget.c, button-widget.c,
......
......@@ -91,13 +91,17 @@ int main(int argc, char *argv[])
BOMB();
applet_widget_register_stock_callback(APPLET_WIDGET(w), "testitem", GNOME_STOCK_PIXMAP_NEW, "testitem",
(AppletCallbackFunc)bomb, GINT_TO_POINTER(assign_stage++));
applet_widget_register_stock_callback (APPLET_WIDGET (w), "testitem",
GTK_STOCK_NEW, "testitem",
(AppletCallbackFunc)bomb,
GINT_TO_POINTER (assign_stage++));
TRY_ABORT_REMOVE();
applet_widget_register_stock_callback(APPLET_WIDGET(w), "test2", GNOME_STOCK_PIXMAP_OPEN, "bomb-quit",
(AppletCallbackFunc)bomb_quit, GINT_TO_POINTER(assign_stage++));
applet_widget_register_stock_callback (APPLET_WIDGET (w), "test2",
GTK_STOCK_OPEN, "bomb-quit",
(AppletCallbackFunc)bomb_quit,
GINT_TO_POINTER (assign_stage++));
TRY_ABORT_REMOVE();
......
......@@ -245,14 +245,42 @@ append_gnome_menu (FoobarWidget *foo, GtkWidget *menu_bar)
GtkWidget *menu;
int i;
char *url[][3] = {
{ N_("News (www)"), N_("http://gnotices.gnome.org/gnome-news/"), "gnome-news.png" },
{ N_("FAQ (www)"), N_("http://www.gnome.org/gnomefaq/html/"), GNOME_STOCK_PIXMAP_HELP },
{ N_("Mailing Lists (www)"), N_("http://mail.gnome.org/mailman/listinfo/"), GNOME_STOCK_PIXMAP_MAIL },
{ NULL, "" },
{ N_("Software (www)"), N_("http://www.gnome.org/applist/list-martin.phtml"), GNOME_STOCK_PIXMAP_SAVE },
{ N_("Development (www)"), N_("http://developer.gnome.org/"), "gnome-devel.png" },
{ N_("Bug Tracking System (www)"), N_("http://bugs.gnome.org/"), "bug-buddy.png" },
{ NULL }
{
N_("News (www)"),
N_("http://gnotices.gnome.org/gnome-news/"),
"gnome-news.png"
},
{
N_("FAQ (www)"),
N_("http://www.gnome.org/gnomefaq/html/"),
GTK_STOCK_HELP
},
{
N_("Mailing Lists (www)"),
N_("http://mail.gnome.org/mailman/listinfo/"),
GNOME_STOCK_MAIL
},
{
NULL, ""
},
{
N_("Software (www)"),
N_("http://www.gnome.org/applist/list-martin.phtml"),
GTK_STOCK_SAVE
},
{
N_("Development (www)"),
N_("http://developer.gnome.org/"),
"gnome-devel.png"
},
{
N_("Bug Tracking System (www)"),
N_("http://bugs.gnome.org/"),
"bug-buddy.png"
},
{
NULL
}
};
......@@ -265,7 +293,7 @@ append_gnome_menu (FoobarWidget *foo, GtkWidget *menu_bar)
add_menu_separator (menu);
item = pixmap_menu_item_new (_("About GNOME"), GNOME_STOCK_MENU_ABOUT);
item = pixmap_menu_item_new (_("About GNOME"), GNOME_STOCK_ABOUT);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_signal_connect (GTK_OBJECT (item), "activate",
GTK_SIGNAL_FUNC (about_cb), NULL);
......
......@@ -1199,7 +1199,7 @@ show_run_dialog (void)
gtk_window_set_wmclass (GTK_WINDOW (run_dialog), "run_dialog", "Panel");
gnome_dialog_append_button_with_pixmap (GNOME_DIALOG (run_dialog),
_("Run"),
GNOME_STOCK_PIXMAP_EXEC);
GTK_STOCK_EXECUTE);
gnome_dialog_append_button (GNOME_DIALOG (run_dialog),
GNOME_STOCK_BUTTON_CANCEL);
gnome_dialog_append_button (GNOME_DIALOG (run_dialog),
......@@ -1311,7 +1311,8 @@ load_run_applet(PanelWidget *panel, int pos, gboolean exactpos)
pos, exactpos, APPLET_RUN))
return;
applet_add_callback(applets_last->data, "help",
GNOME_STOCK_PIXMAP_HELP,
_("Help"));
applet_add_callback (applets_last->data,
"help",
GTK_STOCK_HELP,
_("Help"));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment