Commit Graph

865 Commits

Author SHA1 Message Date
Peter de Ridder
12bf2c96b0 Use a proper draw callback passing a cairo_t context to xtm_process_monitor_paint 2014-12-17 22:18:32 +01:00
Landry Breuil
92b48c3d5d Reuse the same WNCK autoconf/automake macro, makes window icons working again with gtk3 2014-12-17 21:43:44 +01:00
Landry Breuil
54679d82d9 Fix previous, use a GtkVBox when there's an orientation property set to vertical 2014-12-17 21:03:53 +01:00
Landry Breuil
2d5c5972b7 remove useless NULL= declaration 2014-12-17 21:03:44 +01:00
Landry Breuil
6233f9f138 Merge remote-tracking branch 'ochosi/fix_gtk3' 2014-12-17 20:49:45 +01:00
Sveinn í Felli
92bbd5800b I18n: Update translation is (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-17 18:31:36 +01:00
Simon Steinbeiss
e8c8dff357 Drop paint-box option 2014-12-17 10:43:56 +01:00
Simon Steinbeiss
abb5f97740 Hardcode the graph colors and simplify the drawing routines 2014-12-17 10:38:32 +01:00
Simon Steinbeiss
aadc7908e6 Fix gtk2 settings dialog 2014-12-17 10:25:59 +01:00
Peter de Ridder
aa5da32243 Use the correct parent to test for first child 2014-12-16 22:16:50 +01:00
abuyop
167d452687 I18n: Update translation ms (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-16 18:31:09 +01:00
Yarema aka Knedlyk
59284b7f3b I18n: Update translation uk (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-16 12:31:08 +01:00
Peter de Ridder
20b1b04a22 Increment the link->path as directly after insert 2014-12-15 21:05:17 +01:00
Natavan Mirzayeva
c7e4f527d0 I18n: Update translation tr (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-14 00:31:28 +01:00
Sergey Alyoshin
340eace38e I18n: Update translation ru (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-12 18:31:09 +01:00
Landry Breuil
cae969b2df Silence warnings.
- statement with no effect
- index is an indentifier in string.h, dont shadow it
- link is a function in unistd.h dont shadow it
2014-12-11 23:37:38 +01:00
Landry Breuil
f3149fa2c1 include the gtk3 generated ui file when building against gtk3. This way both flavors build 2014-12-11 23:30:29 +01:00
Landry Breuil
21bf64ee92 use #ifdef instead of #if to avoid warnings with gtk2 2014-12-11 23:29:57 +01:00
Landry Breuil
4d6fb822be Add automake plumbing to generate both gtk2 and gtk3 ui files in maintainer mode.
- add the resulting files to BUILT_SOURCES & xfce4_taskmanager_SOURCES
- add the gtk3 ui files to EXTRA_DIST
2014-12-11 23:28:19 +01:00
Landry Breuil
3f02cc46d7 Restore gtk2 versions of the gtkbuilder ui files 2014-12-11 23:27:53 +01:00
Landry Breuil
d8404b3021 Rename gtkbuilder files with a -gtk3 suffix for clarity 2014-12-11 23:27:19 +01:00
Landry Breuil
1e1ee4c0f9 icon-name property was deprecated in gtk3 2014-12-11 22:57:07 +01:00
Landry Breuil
f721131703 use gtk_tool_button_set_icon_name() instead of gtk_tool_button_set_stock_id() 2014-12-11 22:52:35 +01:00
Landry Breuil
f7dc12a375 use a plain GtkBox for the statusbar 2014-12-11 22:44:12 +01:00
Landry Breuil
f33f64410f use gtk_tool_button_set_icon_name() instead of gtk_tool_button_set_stock_id() 2014-12-11 22:43:40 +01:00
Landry Breuil
5310bb20d5 Only check for wnck3 if --enable-gtk3 was passed, and enable it by default then.
Only check for wnck/gksu in the other case.
This way one only needs --enable-gtk3 to switch.
2014-12-11 22:18:50 +01:00
Peter de Ridder
9d3fa97f73 Changed has children toggle signal to support auto expand. 2014-12-11 21:56:58 +01:00
Landry Breuil
b2195dc136 Merge branch 'peter/tree-model' 2014-12-11 21:52:44 +01:00
Landry Breuil
9e0dde7a47 save process-window.ui with glade 3 2014-12-11 19:10:47 +01:00
Landry Breuil
cc3013455b Save GtkBuilder file with glade 3, allows to display the settings dialog without crashing. 2014-12-11 19:09:09 +01:00
Landry Breuil
177914f858 Convert GtkBuilder files to gtk3
- replace GtkHBox/VBox by plain GtkBox
- replace GtkHSeparator/VSeparator by plain GtkSeparator
- replace GtkHButtonBox by GtkButtonBox
2014-12-11 19:07:02 +01:00
Landry Breuil
c90a0ac966 use GDK_KEY_Menu instead of the deprecated GDK_Menu via gdkkeysyms-compat.h 2014-12-11 18:52:50 +01:00
Landry Breuil
16722479ab no need for HAVE_GTK3 when you already check for GTK_CHECK_VERSION(2, 24, 1) 2014-12-11 18:19:29 +01:00
Landry Breuil
23c43d14ec comment out gdk_color_parse() calls, allows taskmanager built with gtk3 to run.. 2014-12-11 18:15:12 +01:00
Саша Петровић
4183b31fcc I18n: Update translation sr (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-10 18:31:00 +01:00
André Miranda
445b2ffddc I18n: Update translation pt_BR (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-10 06:31:10 +01:00
Harald Judt
0c919e0906 I18n: Update translation de (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-09 18:31:13 +01:00
Landry Breuil
3b11350b6a [wip] gets taskmanager to build with Gtk3
- use gtk_widget_get_allocated_width/gtk_widget_get_allocated_height instead of poking at GtkAllocation internals
- use gtk_widget_get_window() instead of poking at window struct member
- correct args for gtk_paint_box/gtk_paint_shadow, probably wrong too but builds for now
2014-12-08 22:57:15 +01:00
Landry Breuil
eaa3886a5d [wip] directly pass a hardcoded red GdkColor where gtk2 code pokes at GtkStyle internals 2014-12-08 22:56:39 +01:00
Landry Breuil
78330dbc19 expose-event was replaced by draw, assign the same callback for now (probably wrong) 2014-12-08 22:55:43 +01:00
Landry Breuil
fc67cde22a Depend on Gtk 2.14, released ages ago... 2014-12-08 22:55:01 +01:00
Landry Breuil
41a9d833f0 Use gtk_widget_get_window() (appeared in Gtk 2.14) instead of poking at window struct member 2014-12-08 22:53:59 +01:00
Landry Breuil
f76b9973bd Use gtk_check_menu_item_get_active() instead of poking directly at the active member 2014-12-08 22:47:41 +01:00
Landry Breuil
55591b17ca GTK_WIDGET_SET_FLAGS seems to be gtk2 only 2014-12-08 22:47:27 +01:00
Landry Breuil
008bfd62a6 GtkComboBoxText appeared in gtk 2.24.1, use it if available 2014-12-08 22:46:47 +01:00
Landry Breuil
af176e4f87 gdk_spawn_command_line_on_screen() was removed, try to use g_app_info_launch() 2014-12-08 22:39:09 +01:00
Landry Breuil
dab45b288a GTK_WIDGET_SET_FLAGS seems to be gtk2 only 2014-12-08 22:38:41 +01:00
Landry Breuil
2cf4aef9f7 include gdk/gdkkeysyms-compat.h to get GDK_Menu #define 2014-12-08 22:38:20 +01:00
Landry Breuil
28c6cea972 use gtk_widget_is_visible instead of GTK_WIDGET_VISIBLE() 2014-12-08 22:37:29 +01:00
Landry Breuil
e91f9040d1 set GTK2/GTK3/WNCK/WNCK3 LIBS/CFLAGS depending on USE_GTK3 2014-12-08 22:37:00 +01:00