Commit Graph

695 Commits

Author SHA1 Message Date
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
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
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
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
Landry Breuil
15863295cb also check for libwnck3, will have to be dependent on gtk3 anyway 2014-12-08 22:36:25 +01:00
Landry Breuil
f327226643 check for optional gtk3 support 2014-12-08 20:47:52 +01:00
Pablo Roberto Francisco Lezaeta Reyes
f9a92302a5 I18n: Update translation es (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-08 12:31:13 +01:00
Landry Breuil
7b66aad722 Merge remote-tracking branch 'hjudt/1024-units' 2014-12-08 10:39:26 +01:00
GenghisKhan
5b577869c3 I18n: Update translation he (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-08 06:30:59 +01:00
Harald Judt
6e8a877620 I18n: Update translation de (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-07 18:31:56 +01:00
عبدالله رضوان
b8147d6ccc I18n: Update translation ar (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-07 18:31:56 +01:00
Harald Judt
134e0c278f Use g_format_size_full with G_FORMAT_SIZE_IEC_UNITS for RAM
This makes it more consistent with what other tools report.
2014-12-07 13:37:53 +01:00
Peter de Ridder
c8f6a2ed95 Auto expand the process tree. 2014-12-07 11:41:15 +01:00
Landry Breuil
2c18cb26f1 put the 'Show memory usage in bytes' checkbox in the UI settings 2014-12-07 11:38:47 +01:00
Ḷḷumex03
e10ad98391 I18n: Update translation ast (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-07 06:31:56 +01:00
Jeff Huang
911a1ceb5d I18n: Update translation zh_TW (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-06 12:31:00 +01:00
Piotr Sokół
4e996f640e I18n: Update translation pl (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-06 12:31:00 +01:00
Yannick Le Guen
f658b43de2 I18n: Update translation fr (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-06 12:31:00 +01:00
Tobias Bannert
d6a0431e2c I18n: Update translation de (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-06 00:30:59 +01:00
Kiril Kirilov
383040f53a I18n: Update translation bg (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-06 00:30:59 +01:00
Nuno Miguel
8015b449a8 I18n: Update translation pt (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-05 18:31:02 +01:00
Pjotr
5039b63cab I18n: Update translation nl (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-05 18:31:02 +01:00
Michal Várady
335aba243e I18n: Update translation cs (100%).
74 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
2014-12-05 18:31:01 +01:00