summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)AuthorFilesLines
2017-12-20WidthOfScreen and HeightOfScreen implementationPablo Barciela2-9/+5
This commit reverts: https://github.com/mate-desktop/marco/commit/f0541e3dfda29c26fe14c9c9117f95c49006c75c https://github.com/mate-desktop/marco/commit/d18c2fb4acb58c408c01700682b9922de86e8b2f And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_width gdk_screen_height
2017-08-22gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+9
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
2017-08-18avoid deprecated gdk_screen_width/heightZenWalker1-2/+6
2017-08-18avoid deprecated gdk_screen_get_widthZenWalker1-1/+3
2017-08-11Forces a window scale of 1 for the window manager, instead of using the ↵Martin Wimpress1-0/+5
default or user configured scale. Closes #335 (#336)
2017-07-29avoid deprecated gdk_display_get_screenZenWalker8-26/+15
2017-07-15avoid deprecated gdk_screen_get_numberZenWalker1-1/+1
2017-06-27ui: Fix invalid object construction in framesIkey Doherty1-4/+0
This legacy construct was carried over from the gtk2/gtk3 port, and attempts to initialise MetaFrames with a GtkWindow `type` property. This property doesn't actually exist, and will cause marco to completely crash when running with `MARCO_DEBUG=1` for local build testing. Signed-off-by: Ikey Doherty <[email protected]>
2017-04-23ui: avoid deprecated GdkDeviceManagerAlberts Muktupāvels1-0/+9
taken from: https://git.gnome.org/browse/metacity/commit/?id=7ec9a6f
2017-04-23tile-preview: avoid a deprecation warningAlberts Muktupāvels1-3/+4
Taken from: https://git.gnome.org/browse/metacity/commit/?id=3380502
2017-02-07theme-viewer: don't use deprecated gtk_widget_override_fontraveit651-1/+23
taken from: https://git.gnome.org/browse/metacity/commit/?id=02fa1e1
2017-02-07theme-viewer: don't use deprecated GtkAlignmentraveit651-17/+10
taken from: https://git.gnome.org/browse/metacity/commit/?id=66d54f5
2017-02-07theme-viewer: port GtkAction to GActionraveit651-86/+113
2017-02-07theme-viewer: don't use deprecated gtk_scrolled_window_add_with_viewportraveit651-2/+2
2017-02-07theme-viewer: port GtkTable to GtkGridraveit651-38/+36
2017-01-06theme-viewer: use GtkStyleContextmonsta1-10/+22
picked from upstream: https://git.gnome.org/browse/metacity/commit/src/ui/theme-viewer.c?id=238e83a98cf014c9b1082d21541e63f102d441d6 https://git.gnome.org/browse/metacity/commit/src/ui/theme-viewer.c?id=c9099b4a90932a22c86b960c8b4dc7cd1458defe
2017-01-06theme-viewer: use GdkRGBA instead of GdkColormonsta1-14/+17
2017-01-06theme-viewer: remove unused codemonsta1-307/+0
same as done upstream: https://git.gnome.org/browse/metacity/commit/?id=93e8c8d8b399200291965357f893fff404426eae
2016-12-05Added functionality to disable display preselected tab window borderIllia Danko1-9/+13
2016-11-25theme-viewer: fix buildmonsta1-9/+10
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