summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)AuthorFilesLines
2016-10-15move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta20-2701/+58
2016-05-17fix a typo with deprecated GtkMiscraveit651-2/+2
2016-05-03GTK+3 fixedtip: add style class tooltipraveit651-0/+1
2016-03-03[GTK+3] re-add ability to show alt-tab thumbnails when compositor is onmonsta1-1/+12
adapted from: https://git.gnome.org/browse/metacity/commit/?id=e6828a3ee2cab1ec1acbdd5a444dc1cb98215a75 https://git.gnome.org/browse/metacity/commit/?id=758902aef22629943738241cea1f597b6db4b18e https://git.gnome.org/browse/metacity/commit/?id=c6ba6dc7f458720d9f8666881f45a830580468cb https://git.gnome.org/browse/metacity/commit/?id=68bdf1ab9de815e07f5cd75b2e1fa24ba92ae319 https://git.gnome.org/browse/metacity/commit/?id=78bbf4423f72797a05bfaddd4121d70db30de9a3
2016-03-03fix typo in b4d2708dbae8708fe4e50b2fb4d823c20d9d829amonsta1-1/+1
2016-02-28GTK+3: Get values from GtkStyleContext states properlyraveit652-2/+14
this avoids warnings like this: Warning of Windowmanagement:Log level 16: State 4 for context 0x55988f9ad950 doesn't match state 128 set via gtk_style_context_set_state ()
2016-01-25fix dprecated GtkMiscWolfgang Ulbrich4-5/+10
2016-01-21[GTK+3] theme viewer: fix deprecated usage of GtkHButtonBoxmonsta1-0/+4
2015-12-02Gtk3: fix a fogotten GtkMisc deprecationWolfgang Ulbrich1-0/+7
2015-12-02GTK3: fix GtkMisc deprecation fixes for gtk+-3.14Wolfgang Ulbrich2-5/+5
2015-12-02Gtk+-3.14 tabpopup.c: don't use deprecated GtkAlignmentWolfgang Ulbrich1-0/+12
taken from: https://git.gnome.org/browse/metacity/commit/?id=5aeb6e9
2015-12-02Gtk+-3.14 tabpopup.c: don't use deprecated GtkMiscWolfgang Ulbrich1-0/+5
partially taken from: https://git.gnome.org/browse/metacity/commit/?id=51b9e57
2015-12-02Gtk+-3.14 resizepopup.c: don't use deprecated GtkMiscWolfgang Ulbrich1-0/+7
taken from: https://git.gnome.org/browse/metacity/commit/?id=1f2ea05
2015-12-02Gtk+-3.14 menu.c + metaaccellable.c: don't use deprecated GtkMiscWolfgang Ulbrich2-0/+25
taken from: https://git.gnome.org/browse/metacity/commit/?id=7a5c50c
2015-12-02Gtk+-3.14 fixedtip.c: don't use deprecated GtkMiscWolfgang Ulbrich1-0/+5
taken from: https://git.gnome.org/browse/metacity/commit/?id=e00996a
2015-12-02Gtk+-3.16 draw-workspace.c: don't use deprecated ↵Wolfgang Ulbrich1-0/+25
gtk_style_context_get_background_color partially taken from: https://git.gnome.org/browse/metacity/commit/?id=33ad43f
2015-11-20Gtk3: fix colorsBalló György1-0/+4
Add GTK_STYLE_CLASS_BACKGROUND class to context, so we have correct colors from the GTK+ theme instead of white text over black background.
2015-11-18GTK3 fixedtip: use a tooltip styleWolfgang Ulbrich1-32/+70
- this fixes the bg/fg color mismatch between normal tooltips, which are styleable in themes taken from: https://git.gnome.org/browse/metacity/commit/?id=3aa71b7
2015-09-25Merge pull request #224 from dnk/assertionNo_name1-0/+2
gtk3: fix assertion 'gtk_widget_get_realized (widget)' failed
2015-09-24gtk3: fix assertion 'gtk_widget_get_realized (widget)' failedDenis Gorodnichev1-0/+2
gtk3 can use style context before widget realization
2015-09-18gtk3: draw 1px tile borderDenis Gorodnichev1-6/+9
2015-09-16tile-preview: Small cleanupinfirit1-9/+1
* GDK_DISPLAY_XDISPLAY and gdk_display_get_default are in Gtk2 * Get window from GdkEvent
2015-09-16preview-widget: Small GTK_CHECK_VERSION cleanupinfirit1-10/+5
2015-09-16ui: Small cleanupsinfirit1-19/+0
* No point in checking for Gtk2 with GTK_CHECK_VERSION in Gtk2 only code * We have gdk_x11_window_lookup_for_display in Gtk2.24
2015-09-16Remove more unused functionsinfirit1-105/+0
2015-09-14Remove deprecated GTK+ symbols and use accessor functionsinfirit8-123/+161
Direct struct access has been deprecated, so use the appropriate replacements to build with GSEAL enabled.
2015-09-14theme: Rename button_rect() to get_button_rect()Florian Müllner1-6/+6
Basically it's odd to have "button_rect" be a function with all the foo_rect GdkRectangles around - renaming to get_button_rect() will free the name for the generically named "rect" once buttons are the only movable pieces in the frame. https://bugzilla.gnome.org/show_bug.cgi?id=741917
2015-09-14ui: Refactor the default image lookupJasper St. Pierre1-20/+15
2015-09-14xprop: Don't use GDK for reading text propertiesJasper St. Pierre1-32/+0
2015-09-14Don't allow multiline window titlesWilliam Jon McCann1-0/+2
Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=683056
2015-09-14Clean up antialiasing fixesOwen W. Taylor1-24/+11
Simplify the code by noting that when we have square end-caps, the results of generic line path give the right pixel-aligned rectangle for horizontal/vertical lines. Add comments and remove some extra braces. https://bugzilla.gnome.org/show_bug.cgi?id=630426
2015-09-14Fix typoinfirit1-1/+1
2015-09-14Drop deprecated use of GTK_WIDGET_DRAWABLE, GTK_WIDGET_STATE and ↵infirit1-2/+2
gtk_widget_set_uposition
2015-09-14Drop deprecated use of gtk_signal_connect_fullinfirit1-18/+0
2015-08-31check for GTK+ release, not pre-releaseMonsta1-1/+1
2015-08-20Gtk3: Fix background colorinfirit3-18/+82
Also drop the mate-desktop dark/light color functions in favour of internal ones.
2015-07-17theme: Remove outdated assertionYaakov Selkowitz2-3/+0
The theme state used to use GtkStateType, but was ported over to GtkStateFlags, leaving behind a broken assertion that fails when using certain Metacity themes, for example Nodoka. https://bugzilla.gnome.org/show_bug.cgi?id=661286 https://git.gnome.org/browse/mutter/commit/?id=28deea4 https://git.gnome.org/browse/metacity/commit/?id=c9099b4 https://github.com/mate-desktop/marco/issues/205
2015-06-10Merge pull request #164 from dnk/tile_preview_glitchMartin Wimpress1-1/+2
tile preview: invalidate window before showing
2015-03-15preview-widget: use correct name for missing iconmonsta1-2/+2
from https://git.gnome.org/browse/metacity/commit/?id=5f8df557b8dbe962f19e8b641c007073665ff878 Closes https://github.com/mate-desktop/marco/pull/178
2015-01-14check compositor statusDenis Gorodnichev1-15/+16
2015-01-14show tile preview with external compositorDenis Gorodnichev1-4/+3
2015-01-14tile preview: invalidate window before showingDenis Gorodnichev1-1/+2
2014-12-05ui: use correct name for missing iconAlberts Muktupāvels1-2/+2
2014-11-25merge metacity(gtk3) changesDenis Gorodnichev16-316/+985
merge metacity(gtk3) changes fix warnings clean up unused variables replace UNUSED_VARIABLE by G_GNUC_UNUSED
2014-11-25Replace gtkstock icon usageinfirit1-2/+2
2014-11-25Gtk3: Silence the GtkVBox and GtkHBox deprecations warningsinfirit2-0/+8
2014-11-18Add missing ';'Stefano Karapetsas1-1/+1
Closes https://github.com/mate-desktop/marco/issues/149
2014-11-12buttons: Fix background functions for non-default layoutsinfirit3-16/+108
While the configured layout is taken into account for positioning the buttons, the mapping from button function states to button position states just assumed the default button layout in LTR locales. Do a proper mapping depending on the actual layout instead. Based on metacity commit: 6a52883c2b670ad645257373515d1e704408b93d From: Florian Müllner <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=638700
2014-11-12Fix drawing of <arc> elementsinfirit1-1/+1
This patch fixes the drawing of <arc> theme elements to appear in the desired orientation Based on metacity commit: 120c7790d6c5a837372ef1e0105e89ac674facd8 From: Nickolas Lloyd <[email protected]>
2014-10-27Fixup Gtk3 Gdk device handlingDenis Gorodnichev2-2/+23