summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)AuthorFilesLines
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
2014-10-27Rework tiling code based off Consortiuminfirit3-2/+113
Taken from https://github.com/SolusOS-discontinued/consortium/commit/b463e03f5bdeab307ceee6b969c681f29537c76d
2014-10-25Make sure to always call va_endinfirit1-1/+5
Based on metacity commit: b235d3e78670e30a55f3f746f13003577988bed6 From: Jasper St. Pierre <[email protected]>
2014-10-25Add in XDG_USER_DATA_DIR when looking for themesinfirit1-1/+15
Based off metacity commit: 52a524ee4a7e14d99451ea3f596b353ddf7957d4 From: Jasper St. Pierre <[email protected]>
2014-10-25Clean up code to find themesinfirit1-172/+118
Simplify code to find the right theme to load and loading it by moving all the loading code into a load_theme() helper function, and making meta_load_theme() use that as it searches through the directories. Look for old-version themes even when loading relative to the working in debug mode. Don't unnecessarily duplicate and then free info->theme_file and info->theme_dir. http://bugzilla.gnome.org/show_bug.cgi?id=592503 NOTE: Patch copied from mutter and adapted for metacity. Based on metacity commit: bc45c9b68849687d456ec339588d15a63c391046 From: Alberts Muktupāvels <[email protected]>
2014-10-25theme-viewer: stop using gtk_misc_set_alignment for Gtk+3infirit1-0/+5
Based on metacity commit: 99bfe2d27c6babeeea3539b990505895750d3541 From: Alberts Muktupāvels <[email protected]>
2014-10-25Drop support for Gtk+ < 2.24infirit1-48/+0
2014-10-25Cleanup GTK_CHECK_VERSION and unify where possibleinfirit7-87/+6
gdk_x11_window_lookup_for_display since 2.24 GDK_WINDOW_XID since always gtk_widget_get_visible since 2.18 gtk_widget_set_mapped since 2.20 gdk_event_new since 2.2 gdk_x11_window_lookup_for_display since 2.24 gdk_text_property_to_utf8_list_for_display since 2.2 gtk_widget_get_realized since 2.20 gdk_visual_get_depth since 2.22 gtk_widget_get_window since 2.14 gtk_widget_set_allocation since 2.18
2014-10-24frames.c: don't try to remove source that does not existinfirit1-0/+2
Based on metacity commit: 5ae71b165df2fbaae933de41db11726a79aea820 From: Alberts Muktupāvels <[email protected]>
2014-10-24Fix the resizing of CSD windowsmonsta1-23/+10
2014-10-24themewidget: remove, it is unusedinfirit3-406/+0
Based on metacity commit: 202a3712a97c2df6f0410050835898795f75a1b6 From: Alberts Muktupāvels <[email protected]>
2014-07-24gtk3: fix draw workspaceDenis Gorodnichev1-1/+1
2014-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía20-428/+428
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2014-04-23GTK3 fixesStefano Karapetsas2-0/+8
2014-04-23gtk3: remove always on top square at 0x0-200x200Denis Gorodnichev2-30/+27
Conflicts: src/ui/frames.c
2014-04-23GTK3 fixesStefano Karapetsas7-56/+243
2014-03-22Revert "gtk3: remove always on top square at 0x0-200x200"Stefano Karapetsas2-27/+30
This reverts commit 2425d611fccb0fa43cfd85a967d41d0777ecd353.
2014-03-07gtk3: remove always on top square at 0x0-200x200Denis Gorodnichev2-30/+27
Conflicts: src/ui/frames.c