[gedit] sidebar: use symbolic icons for filebrowser and documents panel
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] sidebar: use symbolic icons for filebrowser and documents panel
- Date: Thu, 17 Oct 2013 14:25:11 +0000 (UTC)
commit ec46c8fd159492cf11caa839fb6c1aca5f1334da
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date: Thu Oct 17 16:24:39 2013 +0200
sidebar: use symbolic icons for filebrowser and documents panel
gedit/gedit-window.c | 14 +++++++++-----
plugins/filebrowser/gedit-file-browser-plugin.c | 2 +-
2 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index c8f5c40..142a97f 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -3437,6 +3437,7 @@ static void
create_side_panel (GeditWindow *window)
{
GtkWidget *documents_panel;
+ GtkWidget *image;
gedit_debug (DEBUG_WINDOW);
@@ -3453,11 +3454,14 @@ create_side_panel (GeditWindow *window)
window);
documents_panel = gedit_documents_panel_new (window);
- gedit_panel_add_item_with_stock_icon (GEDIT_PANEL (window->priv->side_panel),
- documents_panel,
- "GeditWindowDocumentsPanel",
- _("Documents"),
- GTK_STOCK_FILE);
+ image = gtk_image_new_from_icon_name ("view-list-symbolic",
+ GTK_ICON_SIZE_MENU);
+ gtk_widget_show (image);
+ gedit_panel_add_item (GEDIT_PANEL (window->priv->side_panel),
+ documents_panel,
+ "GeditWindowDocumentsPanel",
+ _("Documents"),
+ image);
}
static void
diff --git a/plugins/filebrowser/gedit-file-browser-plugin.c b/plugins/filebrowser/gedit-file-browser-plugin.c
index 65292ae..28981f5 100644
--- a/plugins/filebrowser/gedit-file-browser-plugin.c
+++ b/plugins/filebrowser/gedit-file-browser-plugin.c
@@ -529,7 +529,7 @@ gedit_file_browser_plugin_activate (GeditWindowActivatable *activatable)
panel = gedit_window_get_side_panel (priv->window);
- image = gtk_image_new_from_icon_name ("system-file-manager",
+ image = gtk_image_new_from_icon_name ("system-file-manager-symbolic",
GTK_ICON_SIZE_MENU);
gtk_widget_show (image);
gedit_panel_add_item (panel,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]