|
|
{ | { |
EphyBookmarksTrayExtensionPrivate *priv; | EphyBookmarksTrayExtensionPrivate *priv; |
GError *error = NULL; | GError *error = NULL; |
GtkWidget *hbox, *image, *label; |
GtkWidget *hbox, *image; |
| |
LOG ("EphyBookmarksTrayExtension initialising"); | LOG ("EphyBookmarksTrayExtension initialising"); |
| |
|
|
image = gtk_image_new_from_stock (EPHY_STOCK_BOOKMARKS, GTK_ICON_SIZE_MENU); | image = gtk_image_new_from_stock (EPHY_STOCK_BOOKMARKS, GTK_ICON_SIZE_MENU); |
gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0); | gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0); |
| |
label = gtk_label_new (_("Bookmarks")); |
|
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); |
|
| |
gtk_widget_show (label); |
|
gtk_widget_show (image); | gtk_widget_show (image); |
gtk_widget_show (hbox); | gtk_widget_show (hbox); |
gtk_widget_show (priv->tray_button); | gtk_widget_show (priv->tray_button); |