summaryrefslogtreecommitdiff
path: root/src/themes
AgeCommit message (Collapse)AuthorFilesLines
2015-11-02Nodoka: use a fixed font colorWolfgang Ulbrich1-2/+6
fixes https://github.com/mate-desktop/mate-notification-daemon/issues/86 Currenty the theme use the font color from gtk theme, which give us unreadable notifications text in case of using a dark gtk theme with mostly light font colors.
2015-10-31coco, nodoka, slider: removed a unused variable and fixes warningsWolfgang Ulbrich3-6/+0
2015-10-31GTK3 slider: fix some warningsWolfgang Ulbrich1-2/+2
- theme.c:1010:31: warning: passing argument 1 of 'gtk_style_context_get_color' from incompatible pointer type [-Wincompatible-pointer-types] gtk_style_context_get_color (context, GTK_STATE_FLAG_NORMAL, &color); - theme.c:1011:25: warning: passing argument 1 of 'gtk_style_context_get' from incompatible pointer type [-Wincompatible-pointer-types] gtk_style_context_get (context, GTK_STATE_FLAG_NORMAL, "background-color", &fg_color, NULL); - theme.c:979:19: warning: variable 'style' set but not used [-Wunused-but-set-variable] GtkStyleContext* style;
2015-10-31Revert "Gtk3: slider: Do not use deprecated ↵Wolfgang Ulbrich1-3/+3
gtk_style_context_get_background_color" This commit breaks the bg of notifications, in result notifications are unreadable, black fg color on black bg. This reverts commit 0fb782d2dcc129ab0858ea0d4399f6c183cb20c1.
2015-10-31GTK3 standard theme: fix deprecated gtk_misc_set_alignmentWolfgang Ulbrich1-0/+4
2015-10-16themes: use pi value provided by glibGiedrius Statkevičius2-17/+15
2015-10-15nodoka: fix missing prototype warningsGiedrius Statkevičius1-0/+17
2015-10-15slider: fix missing prototypes warningsGiedrius Statkevičius1-0/+18
2015-10-15standard: fix missing prototypes warningsGiedrius Statkevičius1-0/+17
2015-10-15coco: fix missing prototypes warningGiedrius Statkevičius1-0/+17
2015-10-05themes: check for GTK+3 release, not dev versionMonsta4-17/+17
2015-08-05nodoka: remove unused variable screen_heightGiedrius Statkevičius1-3/+0
2015-07-29standard: Fix crash due to incorrectly destroying widgetinfirit1-1/+1
Fixes #69
2015-07-29standard: fix copy/paste errorinfirit1-3/+3
2015-07-28Use accessor functions instead of direct accessinfirit2-7/+10
2015-07-28standard: Move countdown drawing to countdown_paint functioninfirit1-14/+25
And handle the draw/expose_event outside of countdown_paint which makes things easier to read.
2015-07-28standard: Move the draw and expose-event handling from paint_windowinfirit1-13/+25
No functional change but this makes the code a bit cleaner and easier to read.
2015-07-28standard: Rework cairo drawinginfirit1-39/+41
2015-07-28Remove unnecessary eventbox from themesinfirit3-39/+3
2015-07-28slider: rework paint_window, on_draw and on_expose_eventinfirit1-28/+47
This is now the same as coco and nodoka.
2015-07-28slider: Bring the window shape code in line with coco/nodokainfirit1-44/+64
Also we already shape windows in paint_window and it is probably wise to redraw anyway on compositing change.
2015-07-28Gtk3: slider: Do not use deprecated gtk_style_context_get_background_colorinfirit1-3/+3
2015-07-28Gtk3: nodoka: Use GdkRGBAinfirit1-18/+26
2015-07-28nodoka: Move the draw and expose-event handling from paint_windowinfirit1-18/+25
No functional change but this makes the code a bit cleaner and easier to read.
2015-07-28nodoka: Shape windows without compositinginfirit1-0/+109
2015-07-28nodoka: rework cairo drawinginfirit1-57/+44
Fixes background in Gtk3
2015-07-28nodoka: Use a cairo rectangle instead of a gdk rectangleinfirit1-31/+29
They are virtually the same and in Gtk3 GdkRectangle is a cairo_rectangle_int_t anyway.
2015-07-28coco: Move the draw and expose-event handling from paint_windowinfirit1-19/+30
No functional change but this makes the code a bit cleaner and easier to read.
2015-07-28coco: Shape windows without compositinginfirit1-0/+109
2015-07-28coco: Add handle configure eventinfirit1-0/+12
2015-07-28coco: Rework cairo drawinginfirit1-62/+49
Fixes background in Gtk3
2015-07-28themes: Rename enable_transparency to compositedinfirit3-17/+17
We really are checking if we have a compositer running so composited fits better.
2015-07-24Fix comparison between unsigned and signed intinfirit1-1/+1
2015-07-24Fix several incompatible pointer type warningsinfirit4-4/+4
2015-07-22GTK3: don't use deprecated GtkRcStyleraveit652-0/+8
taken from https://git.gnome.org/browse/notification-daemon/commit/?id=2f0409b
2015-07-22nodoka: Drop GdkPixmap usage for cairo in Gtk2infirit1-36/+11
2015-07-22nodoka: Fix whitespace in paint_windowinfirit1-38/+42
2015-07-22nodoka: Also set wrap mode for Gtk2infirit1-4/+1
Rids us of some GTK_CHECK_VERSION
2015-07-22coco: Drop GdkPixmap usage for cairo in Gtk2infirit1-23/+1
2015-07-22coco: Also set wrap mode for Gtk2infirit1-4/+1
Rids us of more GTK_CHECK_VERSION
2015-07-22coco: Always use GtkAllocationinfirit1-18/+4
Rids us of some GTK_CHECK_VERSION
2015-07-22coco: Fix whitespace in paint_windowinfirit1-42/+46
2015-07-22GTK3: replace deprecated gtk_widget_size_requestraveit652-1/+13
2015-07-22GTK3: replace deprecated gtk_[v/h]_box_newraveit654-0/+20
2015-07-22Gtk3: replace deprecated gtk_misc_set_alignmentraveit654-2/+83
2015-07-22all themes: don't crash on notifications from RhythmboxMonsta4-4/+4
fixes https://github.com/mate-desktop/mate-notification-daemon/issues/55
2015-06-17GTK3: Fix positioning notifications with long textraveit654-0/+24
Closes https://github.com/mate-desktop/mate-notification-daemon/pull/52
2014-10-02don't draw pie if timeout is zeroDenis Gorodnichev2-0/+6
Closes https://github.com/mate-desktop/mate-notification-daemon/pull/38
2014-10-01coco: Show actions boxStefano Karapetsas1-2/+0
Closes https://github.com/mate-desktop/mate-notification-daemon/issues/37
2014-07-03Use g_object_unref in callback for both Gtk+ versionsinfirit3-16/+0