aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-image-helper.c
Commit message (Collapse)AuthorAgeFilesLines
* Fork libayatana-indicator from Ubuntu's libindicator shared library.Mike Gabriel2015-11-061-218/+0
|
* Don't load using the icon info structure if it's a bytes icon.William Hua2014-03-291-1/+1
|
* IndicatorImageHelper: let's use the actual icon file if its height is less ↵Marco Trevisan (Treviño)2014-03-031-14/+15
| | | | than ICON_SIZE
* IndicatorLoader: Make sure that we load the icon at its original size, if ↵Marco Trevisan (Treviño)2014-03-031-7/+20
| | | | | | not higher than IMAGE_SIZE In this way icons such as the battery one won't be shrunk.
* ImageHelper: set image from icon name if we have the filenameMarco Trevisan (Treviño)2014-02-281-1/+1
|
* IndicatorImageHelper: always try to use a GIcon or the file-name as source ↵Marco Trevisan (Treviño)2014-02-281-37/+27
| | | | | | | | | | | | of the Gdk image We don't need to fallback to pure pixbuf, unless an indicator provided a custom icon that is not in the current theme path. This helps a lot in reducing the Unity7 workload as this decreases the cases where we need to encode the pixbuf contents, send them via dbus to unity, encode them back, reload to a new pixbuf... Also thanks to this, the library clients can load the actual icon, scaled at the value they want.
* Use named icons rather than (deprecated) stock items.Colin Watson2013-12-201-2/+2
|
* Handling the deprecation of gtk_icon_info_free()Ted Gould2013-05-291-0/+6
|
* Code clean-up.William Hua2013-05-191-31/+27
|
* Clean up error checking.William Hua2013-04-261-31/+22
|
* [ William Hua ]William Hua2013-04-221-11/+46
| | | | | | | | | | | | * debian/control: - Bump GLib to 2.37. * configure.ac: - Bump GLib to 2.37. * libindicator/indicator-image-helper.c: - Support display of GBytesIcons. * libindicator/indicator-ng.c: - Change action state icon type to GVariant.
* indicator-ng: use indicator_image_helperLars Uebernickel2013-01-251-4/+20
| | | | | | | | gtk_icon_set_from_gicon doesn't scale rectangular icons correctly. This adds indicator_image_helper_update_from_gicon() and makes refresh_image() set a broken image instead of erroring out when an icon couldn't be found.
* in indicator_image_helper_update(), test the image argument with ↵Charles Kerr2012-04-111-1/+1
| | | | GTK_IS_IMAGE before using it.
* merge lp:~htorque/libindicator/fix-small-leak to fix a GError memory leak ↵Charles Kerr2012-03-261-0/+1
|\ | | | | | | reported in lp bug #965459
| * Free GError.Hernando Torque2012-03-261-0/+3
|/
* Ask GTK to rescan the icon theme if the wanted icon cannot be found.Aurelien Gateau2011-08-021-0/+5
| | | | | | This is necessary at least with sni-qt, which generates icon on the fly in a custom theme dir.
* Changing the message to a warning and clearing the GtkImage.Ted Gould2010-08-161-1/+3
|
* Allowing for absolute file names for icons.Ted Gould2010-08-121-11/+23
|\
| * Added absolute filename fixesKarl2010-08-091-12/+22
|/
* Removing the style lookup that wasn't used.Ted Gould2010-07-061-12/+0
|
* Watching for style changes on the image.Ted Gould2010-03-111-0/+10
|
* Check to see if we've seen the image previously before adding signals in.Ted Gould2010-03-111-2/+9
|
* Splitting things out into an update function and a buid function.Ted Gould2010-03-111-14/+16
|
* Adding in a copyright header.Ted Gould2010-03-101-0/+22
|
* If we get an icon that is too big, we have to scale it.Ted Gould2010-03-101-0/+11
|
* Doing dynamic size calculation based on the font if we have a prop set ↵Ted Gould2010-03-101-1/+15
| | | | telling us to do so.
* Disconnect from theme update when the image goes away.Ted Gould2010-03-101-0/+10
|
* Setting up the callback for themes changing.Ted Gould2010-03-101-2/+12
|
* Pulled out a bunch of the code into a refresh function for signals.Ted Gould2010-03-101-18/+33
|
* Fleshing out the image loading function.Ted Gould2010-03-101-1/+50
|
* Adding in an image helper library.Ted Gould2010-03-101-0/+12