[LightDM] LightDM GTK+ Greeter & GTK+ 3 - icon-size

poma pomidorabelisima at gmail.com
Wed Dec 17 06:09:18 PST 2014


Bye bye cookies! :)

A Short History of GTK_ICON_SIZE_:
-------
lightdm
----------------------------------
revno: 17
committer: robert.ancell at gmail.com
branch nick: lightdm
timestamp: Sun 2010-05-02 12:18:46 +1000
message:
  Make a greeter panel

... ("system-shutdown", GTK_ICON_SIZE_LARGE_TOOLBAR));

-------------------------------

lost in the wasteland and found
GTK_ICON_SIZE_LARGE_TOOLBAR (24px) - for good measure
switched to
GTK_ICON_SIZE_MENU (16px) - itsy-bitsy teeny-weeny 
yellow polka-dot bikini

-----------------------

revno: 1208
fixes bug: https://launchpad.net/bugs/858861
committer: Robert Ancell <robert.ancell at canonical.com>
branch nick: lightdm
timestamp: Tue 2011-09-27 11:16:50 +1000
message:
  Fix removed power and a11y menu items in GTK greeter

... ("system-shutdown", GTK_ICON_SIZE_MENU);

-----------

revno: 1308
committer: Robert Ancell <robert.ancell at canonical.com>
branch nick: lightdm
timestamp: Tue 2011-11-29 14:22:56 +1100
message:
  Remove GTK greeter, move it to lp:lightdm-gtk-greeter

------------------------------------------

inherited and passed on to the present day
lightdm-gtk-greeter

-------------------

revno: 1
committer: Robert Ancell <robert.ancell at canonical.com>
branch nick: lightdm-gtk-greeter
timestamp: Tue 2011-11-29 14:06:00 +1100
message:
  Split lightdm-gtk-greeter out of lightdm

----------

revno: 314
...
branch nick: lightdm-gtk-greeter
timestamp: Sat 2014-12-13 06:57:44 +0000
...
... ("system-shutdown-symbolic", GTK_ICON_SIZE_MENU);

-----------------------------------------------------

GtkIconSize:
GTK_ICON_SIZE_INVALID: Invalid size.
GTK_ICON_SIZE_MENU: Size appropriate for menus (16px).
GTK_ICON_SIZE_SMALL_TOOLBAR: Size appropriate for small toolbars (16px).
GTK_ICON_SIZE_LARGE_TOOLBAR: Size appropriate for large toolbars (24px)
GTK_ICON_SIZE_BUTTON: Size appropriate for buttons (16px)
GTK_ICON_SIZE_DND: Size appropriate for drag and drop (32px)
GTK_ICON_SIZE_DIALOG: Size appropriate for dialogs (48px)
Built-in stock icon sizes.


Patches for the upstream - https://launchpad.net/lightdm-gtk-greeter
and for the downstream - http://pkgs.fedoraproject.org/cgit/greybird.git
you can find here - http://goo.gl/TpmeHq
as well as the results in graphics.


Ochosi, thanks for the super duper lightdm-gtk-greeter theme!


poma


Ref.
https://git.gnome.org/browse/gtk+/tree/gtk/gtkenums.h#n177
https://developer.gnome.org/gtk3/stable/gtk3-Themeable-Stock-Images.html#GtkIconSize



More information about the LightDM mailing list