[Github-comments] [geany/geany-plugins] Workbench (#598)

LarsGit223 notifications at xxxxx
Sun Aug 20 21:19:03 UTC 2017


LarsGit223 commented on this pull request.



> @@ -0,0 +1,20 @@
+icondir = $(datadir)/icons/hicolor/16x16/apps

See this screenshot:

![workbenchscreenshoticons](https://user-images.githubusercontent.com/9009011/29498420-402b400c-85fc-11e7-9374-4b985e082e53.png)

I would like to have all icons the same size. I do not really specify a size anywhere.

The icons that are small in that screenshot are created with ```g_content_type_get_icon()```. There is no size in that function call. Shortly below that call there is this call: ```gtk_icon_theme_lookup_by_gicon(gtk_icon_theme_get_default(), icon, 16, 0);```. But as I understood this should not change the ```icon```.

The icons that are (too) large in the screenshot have simply been created with ```g_icon_new_for_string()```.

All icons were of small size before I committed the change for supplying different icon size sets. So how do I choose the size? I tried ```g_object_set()``` on the ```GtkTreeView```'s cell renderer (```g_object_set(renderer, "stock-size", 16, NULL);```, the cell renderer is a pixbuf created with ```gtk_cell_renderer_pixbuf_new()```).

Well, enough for today. Maybe I write an mail to the Gtk-App-Devel mailing list tomorrow. Bye for now.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/598#discussion_r134126670
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170820/f083b98a/attachment.html>


More information about the Github-comments mailing list