Merge lp:~noskcaj/ubuntu/trusty/xfdesktop4/4.11.4 into lp:ubuntu/trusty/xfdesktop4
- Trusty (14.04)
- 4.11.4
- Merge into trusty
Proposed by
Jackson Doak
Status: | Needs review |
---|---|
Proposed branch: | lp:~noskcaj/ubuntu/trusty/xfdesktop4/4.11.4 |
Merge into: | lp:ubuntu/trusty/xfdesktop4 |
Diff against target: |
19938 lines (+5060/-5780) 57 files modified
.pc/applied-patches (+0/-1) .pc/git-fix-segfault-on-session-start.patch/src/xfce-desktop.c (+0/-1695) .pc/xubuntu_improve-nautilus-interactions.patch/src/xfce-desktop.c (+58/-34) .pc/xubuntu_set-accountsservice-user-bg.patch/src/xfce-desktop.c (+58/-34) ChangeLog (+475/-0) Makefile.in (+1/-0) NEWS (+69/-0) README (+2/-2) backgrounds/Makefile.in (+1/-0) common/Makefile.in (+1/-0) common/xfdesktop-thumbnailer.c (+1/-1) config.h.in (+3/-0) configure (+423/-413) configure.ac (+18/-14) debian/changelog (+19/-0) debian/patches/git-fix-segfault-on-session-start.patch (+0/-23) debian/patches/series (+0/-1) debian/patches/xubuntu_improve-nautilus-interactions.patch (+3/-3) debian/patches/xubuntu_set-accountsservice-user-bg.patch (+2/-2) doc/Makefile.in (+1/-0) pixmaps/Makefile.in (+1/-0) po/POTFILES.skip (+3/-0) po/bg.po (+148/-151) po/da.po (+184/-183) po/de.po (+180/-182) po/en_AU.po (+147/-150) po/es.po (+150/-153) po/fr.po (+150/-152) po/hr.po (+247/-245) po/hu.po (+182/-181) po/it.po (+148/-151) po/ja.po (+177/-176) po/ko.po (+148/-151) po/ms.po (+147/-150) po/pl.po (+149/-151) po/ru.po (+146/-149) po/sr.po (+148/-151) po/th.po (+141/-144) po/zh_TW.po (+149/-151) settings/Makefile.in (+5/-1) settings/main.c (+80/-34) settings/xfce-backdrop-settings.desktop.in (+3/-2) settings/xfce-backdrop-settings.desktop.in.in (+15/-0) settings/xfdesktop-settings-appearance-frame-ui.glade (+6/-6) settings/xfdesktop-settings-appearance-frame-ui.h (+173/-173) settings/xfdesktop-settings-ui.glade (+1/-0) settings/xfdesktop-settings-ui.h (+345/-344) src/Makefile.am (+5/-9) src/Makefile.in (+13/-20) src/xfce-backdrop.c (+5/-1) src/xfce-desktop.c (+58/-34) src/xfce-workspace.c (+155/-61) src/xfdesktop-app-menu-item.c (+53/-0) src/xfdesktop-file-icon-manager.c (+11/-88) src/xfdesktop-icon-view.c (+49/-9) src/xfdesktop-regular-file-icon.c (+200/-3) src/xfdesktop-regular-file-icon.h (+3/-1) |
To merge this branch: | bzr merge lp:~noskcaj/ubuntu/trusty/xfdesktop4/4.11.4 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holbach (community) | Approve | ||
Review via email: mp+211670@code.launchpad.net |
Commit message
Description of the change
New upstream bugfix release
To post a comment you must log in.
Unmerged revisions
- 97. By Jackson Doak
-
* Merge from debian. Remaining changes:
- debian/patches/ xubuntu_ improve- nautilus- interactions. patch: added,
should prevent nautilus from taking over the desktop if xfdesktop is
running (and vice-versa).
- debian/patches/ xubuntu_ set-accountsser vice-user- bg.patch: update the
user background property of Accountsservice on backdrop change.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file '.pc/applied-patches' |
2 | --- .pc/applied-patches 2014-03-01 16:02:38 +0000 |
3 | +++ .pc/applied-patches 2014-03-19 05:52:10 +0000 |
4 | @@ -1,3 +1,2 @@ |
5 | -git-fix-segfault-on-session-start.patch |
6 | xubuntu_set-accountsservice-user-bg.patch |
7 | xubuntu_improve-nautilus-interactions.patch |
8 | |
9 | === removed directory '.pc/git-fix-segfault-on-session-start.patch' |
10 | === removed directory '.pc/git-fix-segfault-on-session-start.patch/src' |
11 | === removed file '.pc/git-fix-segfault-on-session-start.patch/src/xfce-desktop.c' |
12 | --- .pc/git-fix-segfault-on-session-start.patch/src/xfce-desktop.c 2014-02-28 21:52:55 +0000 |
13 | +++ .pc/git-fix-segfault-on-session-start.patch/src/xfce-desktop.c 1970-01-01 00:00:00 +0000 |
14 | @@ -1,1695 +0,0 @@ |
15 | -/* |
16 | - * xfdesktop - xfce4's desktop manager |
17 | - * |
18 | - * Copyright (c) 2004-2007 Brian Tarricone, <bjt23@cornell.edu> |
19 | - * |
20 | - * This program is free software; you can redistribute it and/or modify |
21 | - * it under the terms of the GNU General Public License as published by |
22 | - * the Free Software Foundation; either version 2 of the License, or |
23 | - * (at your option) any later version. |
24 | - * |
25 | - * This program is distributed in the hope that it will be useful, |
26 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
27 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
28 | - * GNU Library General Public License for more details. |
29 | - * |
30 | - * You should have received a copy of the GNU General Public License |
31 | - * along with this program; if not, write to the Free Software Foundation, |
32 | - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
33 | - * |
34 | - * Random portions taken from or inspired by the original xfdesktop for xfce4: |
35 | - * Copyright (C) 2002-2003 Jasper Huijsmans (huysmans@users.sourceforge.net) |
36 | - * Copyright (C) 2003 Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de> |
37 | - */ |
38 | - |
39 | -#ifdef HAVE_CONFIG_H |
40 | -#include <config.h> |
41 | -#endif |
42 | - |
43 | -#include <stdio.h> |
44 | - |
45 | -#ifdef HAVE_STDLIB_H |
46 | -#include <stdlib.h> |
47 | -#endif |
48 | - |
49 | -#ifdef HAVE_STRING_H |
50 | -#include <string.h> |
51 | -#endif |
52 | - |
53 | -#ifdef HAVE_SYS_TYPES_H |
54 | -#include <sys/types.h> |
55 | -#endif |
56 | -#ifdef HAVE_SYS_STAT_H |
57 | -#include <sys/stat.h> |
58 | -#endif |
59 | -#ifdef HAVE_UNISTD_H |
60 | -#include <unistd.h> |
61 | -#endif |
62 | - |
63 | -#ifdef HAVE_FCNTL_H |
64 | -#include <fcntl.h> |
65 | -#endif |
66 | - |
67 | -#include <ctype.h> |
68 | -#include <errno.h> |
69 | - |
70 | -#ifdef HAVE_TIME_H |
71 | -#include <time.h> |
72 | -#endif |
73 | - |
74 | -#include <X11/Xlib.h> |
75 | -#include <X11/Xatom.h> |
76 | - |
77 | -#include <glib.h> |
78 | -#include <gdk/gdkx.h> |
79 | -#include <gtk/gtk.h> |
80 | - |
81 | -#ifdef ENABLE_DESKTOP_ICONS |
82 | -#include "xfdesktop-icon-view.h" |
83 | -#include "xfdesktop-window-icon-manager.h" |
84 | -# ifdef ENABLE_FILE_ICONS |
85 | -# include "xfdesktop-file-icon-manager.h" |
86 | -# include "xfdesktop-special-file-icon.h" |
87 | -# endif |
88 | -#endif |
89 | - |
90 | -#include <libxfce4util/libxfce4util.h> |
91 | -#include <libxfce4ui/libxfce4ui.h> |
92 | - |
93 | -#include <xfconf/xfconf.h> |
94 | -#include <libwnck/libwnck.h> |
95 | - |
96 | -#include "xfdesktop-common.h" |
97 | -#include "xfce-desktop.h" |
98 | -#include "xfce-desktop-enum-types.h" |
99 | -#include "xfce-workspace.h" |
100 | - |
101 | -/* disable setting the x background for bug 7442 */ |
102 | -//#define DISABLE_FOR_BUG7442 |
103 | - |
104 | -struct _XfceDesktopPriv |
105 | -{ |
106 | - GdkScreen *gscreen; |
107 | - WnckScreen *wnck_screen; |
108 | - gboolean updates_frozen; |
109 | - |
110 | - XfconfChannel *channel; |
111 | - gchar *property_prefix; |
112 | - |
113 | - GdkPixmap *bg_pixmap; |
114 | - |
115 | - gint nworkspaces; |
116 | - XfceWorkspace **workspaces; |
117 | - gint current_workspace; |
118 | - |
119 | - gboolean single_workspace_mode; |
120 | - gint single_workspace_num; |
121 | - |
122 | - SessionLogoutFunc session_logout_func; |
123 | - |
124 | - guint32 grab_time; |
125 | - |
126 | -#ifdef ENABLE_DESKTOP_ICONS |
127 | - XfceDesktopIconStyle icons_style; |
128 | - gboolean icons_font_size_set; |
129 | - guint icons_font_size; |
130 | - guint icons_size; |
131 | - gint style_refresh_timer; |
132 | - GtkWidget *icon_view; |
133 | - gdouble system_font_size; |
134 | -#endif |
135 | -}; |
136 | - |
137 | -enum |
138 | -{ |
139 | - SIG_POPULATE_ROOT_MENU = 0, |
140 | - SIG_POPULATE_SECONDARY_ROOT_MENU, |
141 | - N_SIGNALS |
142 | -}; |
143 | - |
144 | -enum |
145 | -{ |
146 | - PROP_0 = 0, |
147 | -#ifdef ENABLE_DESKTOP_ICONS |
148 | - PROP_ICON_STYLE, |
149 | - PROP_ICON_SIZE, |
150 | - PROP_ICON_FONT_SIZE, |
151 | - PROP_ICON_FONT_SIZE_SET, |
152 | -#endif |
153 | - PROP_SINGLE_WORKSPACE_MODE, |
154 | - PROP_SINGLE_WORKSPACE_NUMBER, |
155 | -}; |
156 | - |
157 | - |
158 | -static void xfce_desktop_finalize(GObject *object); |
159 | -static void xfce_desktop_set_property(GObject *object, |
160 | - guint property_id, |
161 | - const GValue *value, |
162 | - GParamSpec *pspec); |
163 | -static void xfce_desktop_get_property(GObject *object, |
164 | - guint property_id, |
165 | - GValue *value, |
166 | - GParamSpec *pspec); |
167 | - |
168 | -static void xfce_desktop_realize(GtkWidget *widget); |
169 | -static void xfce_desktop_unrealize(GtkWidget *widget); |
170 | -static gboolean xfce_desktop_button_press_event(GtkWidget *widget, |
171 | - GdkEventButton *evt); |
172 | -static gboolean xfce_desktop_button_release_event(GtkWidget *widget, |
173 | - GdkEventButton *evt); |
174 | -static gboolean xfce_desktop_popup_menu(GtkWidget *widget); |
175 | - |
176 | -static gboolean xfce_desktop_expose(GtkWidget *w, |
177 | - GdkEventExpose *evt); |
178 | -static gboolean xfce_desktop_delete_event(GtkWidget *w, |
179 | - GdkEventAny *evt); |
180 | -static void xfce_desktop_style_set(GtkWidget *w, |
181 | - GtkStyle *old_style); |
182 | - |
183 | -static void xfce_desktop_set_single_workspace_mode(XfceDesktop *desktop, |
184 | - gboolean single_workspace); |
185 | -static void xfce_desktop_set_single_workspace_number(XfceDesktop *desktop, |
186 | - gint workspace_num); |
187 | - |
188 | -static gboolean xfce_desktop_get_single_workspace_mode(XfceDesktop *desktop); |
189 | -static gint xfce_desktop_get_current_workspace(XfceDesktop *desktop); |
190 | - |
191 | -static guint signals[N_SIGNALS] = { 0, }; |
192 | - |
193 | -/* private functions */ |
194 | - |
195 | -#ifdef ENABLE_DESKTOP_ICONS |
196 | -static gdouble |
197 | -xfce_desktop_ensure_system_font_size(XfceDesktop *desktop) |
198 | -{ |
199 | - GdkScreen *gscreen; |
200 | - GtkSettings *settings; |
201 | - gchar *font_name = NULL; |
202 | - PangoFontDescription *pfd; |
203 | - |
204 | - gscreen = gtk_widget_get_screen(GTK_WIDGET(desktop)); |
205 | - |
206 | - settings = gtk_settings_get_for_screen(gscreen); |
207 | - g_object_get(G_OBJECT(settings), "gtk-font-name", &font_name, NULL); |
208 | - |
209 | - pfd = pango_font_description_from_string(font_name); |
210 | - desktop->priv->system_font_size = pango_font_description_get_size(pfd); |
211 | - /* FIXME: this seems backwards from the documentation */ |
212 | - if(!pango_font_description_get_size_is_absolute(pfd)) { |
213 | - DBG("dividing by PANGO_SCALE"); |
214 | - desktop->priv->system_font_size /= PANGO_SCALE; |
215 | - } |
216 | - DBG("system font size is %.05f", desktop->priv->system_font_size); |
217 | - |
218 | - g_free(font_name); |
219 | - pango_font_description_free(pfd); |
220 | - |
221 | - return desktop->priv->system_font_size; |
222 | -} |
223 | - |
224 | -static void |
225 | -xfce_desktop_setup_icon_view(XfceDesktop *desktop) |
226 | -{ |
227 | - XfdesktopIconViewManager *manager = NULL; |
228 | - |
229 | - switch(desktop->priv->icons_style) { |
230 | - case XFCE_DESKTOP_ICON_STYLE_NONE: |
231 | - /* nada */ |
232 | - break; |
233 | - |
234 | - case XFCE_DESKTOP_ICON_STYLE_WINDOWS: |
235 | - manager = xfdesktop_window_icon_manager_new(desktop->priv->gscreen); |
236 | - break; |
237 | - |
238 | -#ifdef ENABLE_FILE_ICONS |
239 | - case XFCE_DESKTOP_ICON_STYLE_FILES: |
240 | - { |
241 | - GFile *file; |
242 | - const gchar *desktop_path; |
243 | - |
244 | - desktop_path = g_get_user_special_dir(G_USER_DIRECTORY_DESKTOP); |
245 | - file = g_file_new_for_path(desktop_path); |
246 | - manager = xfdesktop_file_icon_manager_new(file, desktop->priv->channel); |
247 | - g_object_unref(file); |
248 | - } |
249 | - break; |
250 | -#endif |
251 | - |
252 | - default: |
253 | - g_critical("Unusable XfceDesktopIconStyle: %d. Unable to " \ |
254 | - "display desktop icons.", |
255 | - desktop->priv->icons_style); |
256 | - break; |
257 | - } |
258 | - |
259 | - if(manager) { |
260 | - xfce_desktop_ensure_system_font_size(desktop); |
261 | - |
262 | - desktop->priv->icon_view = xfdesktop_icon_view_new(manager); |
263 | - /* If the user set a custom font size, use it. Otherwise use the system |
264 | - * font size */ |
265 | - xfdesktop_icon_view_set_font_size(XFDESKTOP_ICON_VIEW(desktop->priv->icon_view), |
266 | - (!desktop->priv->icons_font_size_set) |
267 | - ? desktop->priv->system_font_size |
268 | - : desktop->priv->icons_font_size); |
269 | - if(desktop->priv->icons_size > 0) { |
270 | - xfdesktop_icon_view_set_icon_size(XFDESKTOP_ICON_VIEW(desktop->priv->icon_view), |
271 | - desktop->priv->icons_size); |
272 | - } |
273 | - gtk_widget_show(desktop->priv->icon_view); |
274 | - gtk_container_add(GTK_CONTAINER(desktop), desktop->priv->icon_view); |
275 | - } |
276 | - |
277 | - gtk_widget_queue_draw(GTK_WIDGET(desktop)); |
278 | -} |
279 | -#endif |
280 | - |
281 | -static void |
282 | -set_imgfile_root_property(XfceDesktop *desktop, const gchar *filename, |
283 | - gint monitor) |
284 | -{ |
285 | - gchar property_name[128]; |
286 | - |
287 | - gdk_error_trap_push(); |
288 | - |
289 | - g_snprintf(property_name, 128, XFDESKTOP_IMAGE_FILE_FMT, monitor); |
290 | - if(filename) { |
291 | - gdk_property_change(gdk_screen_get_root_window(desktop->priv->gscreen), |
292 | - gdk_atom_intern(property_name, FALSE), |
293 | - gdk_x11_xatom_to_atom(XA_STRING), 8, |
294 | - GDK_PROP_MODE_REPLACE, |
295 | - (guchar *)filename, strlen(filename)+1); |
296 | - } else { |
297 | - gdk_property_delete(gdk_screen_get_root_window(desktop->priv->gscreen), |
298 | - gdk_atom_intern(property_name, FALSE)); |
299 | - } |
300 | - |
301 | - gdk_error_trap_pop(); |
302 | -} |
303 | - |
304 | -static void |
305 | -set_real_root_window_pixmap(GdkScreen *gscreen, |
306 | - GdkPixmap *pmap) |
307 | -{ |
308 | -#ifndef DISABLE_FOR_BUG7442 |
309 | - Window xid; |
310 | - GdkWindow *groot; |
311 | - |
312 | - xid = GDK_DRAWABLE_XID(pmap); |
313 | - groot = gdk_screen_get_root_window(gscreen); |
314 | - |
315 | - gdk_error_trap_push(); |
316 | - |
317 | - /* set root property for transparent Eterms */ |
318 | - gdk_property_change(groot, |
319 | - gdk_atom_intern("_XROOTPMAP_ID", FALSE), |
320 | - gdk_atom_intern("PIXMAP", FALSE), 32, |
321 | - GDK_PROP_MODE_REPLACE, (guchar *)&xid, 1); |
322 | - /* and set the root window's BG pixmap, because aterm is somewhat lame. */ |
323 | - gdk_window_set_back_pixmap(groot, pmap, FALSE); |
324 | - /* there really should be a standard for this crap... */ |
325 | - |
326 | - gdk_error_trap_pop(); |
327 | -#endif |
328 | -} |
329 | - |
330 | -static GdkPixmap * |
331 | -create_bg_pixmap(GdkScreen *gscreen, gpointer user_data) |
332 | -{ |
333 | - XfceDesktop *desktop = user_data; |
334 | - gint w, h; |
335 | - |
336 | - TRACE("entering"); |
337 | - |
338 | - g_return_val_if_fail(XFCE_IS_DESKTOP(desktop), NULL); |
339 | - |
340 | - /* If the workspaces haven't been created yet there's no need to do the |
341 | - * background pixmap */ |
342 | - if(desktop->priv->workspaces == NULL) { |
343 | - DBG("exiting, desktop->priv->workspaces == NULL"); |
344 | - return NULL; |
345 | - } |
346 | - |
347 | - TRACE("really entering"); |
348 | - |
349 | - w = gdk_screen_get_width(gscreen); |
350 | - h = gdk_screen_get_height(gscreen); |
351 | - gtk_widget_set_size_request(GTK_WIDGET(desktop), w, h); |
352 | - gtk_window_resize(GTK_WINDOW(desktop), w, h); |
353 | - |
354 | - if(desktop->priv->bg_pixmap) |
355 | - g_object_unref(G_OBJECT(desktop->priv->bg_pixmap)); |
356 | - desktop->priv->bg_pixmap = gdk_pixmap_new(GDK_DRAWABLE(gtk_widget_get_window(GTK_WIDGET(desktop))), |
357 | - w, h, -1); |
358 | - |
359 | - if(!GDK_IS_PIXMAP(desktop->priv->bg_pixmap)) |
360 | - return NULL; |
361 | - |
362 | - gdk_window_set_back_pixmap(gtk_widget_get_window(GTK_WIDGET(desktop)), |
363 | - desktop->priv->bg_pixmap, FALSE); |
364 | - |
365 | - return desktop->priv->bg_pixmap; |
366 | -} |
367 | - |
368 | -static void |
369 | -backdrop_changed_cb(XfceBackdrop *backdrop, gpointer user_data) |
370 | -{ |
371 | - XfceDesktop *desktop = XFCE_DESKTOP(user_data); |
372 | - GdkPixmap *pmap = desktop->priv->bg_pixmap; |
373 | - GdkScreen *gscreen = desktop->priv->gscreen; |
374 | - GdkRectangle rect; |
375 | - GdkRegion *clip_region = NULL; |
376 | - gint i, monitor = -1, current_workspace; |
377 | -#ifdef G_ENABLE_DEBUG |
378 | - gchar *monitor_name = NULL; |
379 | -#endif |
380 | - |
381 | - TRACE("entering"); |
382 | - |
383 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
384 | - |
385 | - if(desktop->priv->updates_frozen || !gtk_widget_get_realized(GTK_WIDGET(desktop))) |
386 | - return; |
387 | - |
388 | - TRACE("really entering"); |
389 | - |
390 | - current_workspace = xfce_desktop_get_current_workspace(desktop); |
391 | - |
392 | - /* Find out which monitor the backdrop is on */ |
393 | - for(i = 0; i < xfce_desktop_get_n_monitors(desktop); i++) { |
394 | - if(backdrop == xfce_workspace_get_backdrop(desktop->priv->workspaces[current_workspace], i)) { |
395 | - monitor = i; |
396 | - break; |
397 | - } |
398 | - } |
399 | - if(monitor == -1) |
400 | - return; |
401 | - |
402 | -#ifdef G_ENABLE_DEBUG |
403 | - monitor_name = gdk_screen_get_monitor_plug_name(gscreen, monitor); |
404 | - |
405 | - DBG("backdrop changed for workspace %d, monitor %d (%s)", current_workspace, monitor, monitor_name); |
406 | - |
407 | - g_free(monitor_name); |
408 | -#endif |
409 | - |
410 | - if(xfce_desktop_get_n_monitors(desktop) > 1 |
411 | - && xfce_workspace_get_xinerama_stretch(desktop->priv->workspaces[current_workspace])) { |
412 | - /* Spanning screens */ |
413 | - GdkRectangle monitor_rect; |
414 | - |
415 | - gdk_screen_get_monitor_geometry(gscreen, 0, &rect); |
416 | - /* Get the lowest x and y value for all the monitors in |
417 | - * case none of them start at 0,0 for whatever reason. |
418 | - */ |
419 | - for(i = 1; i < xfce_desktop_get_n_monitors(desktop); i++) { |
420 | - gdk_screen_get_monitor_geometry(gscreen, i, &monitor_rect); |
421 | - |
422 | - if(monitor_rect.x < rect.x) |
423 | - rect.x = monitor_rect.x; |
424 | - if(monitor_rect.y < rect.y) |
425 | - rect.y = monitor_rect.y; |
426 | - } |
427 | - |
428 | - rect.width = gdk_screen_get_width(gscreen); |
429 | - rect.height = gdk_screen_get_height(gscreen); |
430 | - DBG("xinerama_stretch x %d, y %d, width %d, height %d", |
431 | - rect.x, rect.y, rect.width, rect.height); |
432 | - } else { |
433 | - gdk_screen_get_monitor_geometry(gscreen, monitor, &rect); |
434 | - DBG("monitor x %d, y %d, width %d, height %d", |
435 | - rect.x, rect.y, rect.width, rect.height); |
436 | - } |
437 | - |
438 | - xfce_backdrop_set_size(backdrop, rect.width, rect.height); |
439 | - |
440 | - if(monitor > 0 |
441 | - && !xfce_workspace_get_xinerama_stretch(desktop->priv->workspaces[current_workspace])) { |
442 | - clip_region = gdk_region_rectangle(&rect); |
443 | - |
444 | - DBG("clip_region: x: %d, y: %d, w: %d, h: %d", |
445 | - rect.x, rect.y, rect.width, rect.height); |
446 | - |
447 | - /* If we are not monitor 0 on a multi-monitor setup we need to subtract |
448 | - * all the previous monitor regions so we don't draw over them. This |
449 | - * should prevent the overlap and double backdrop drawing bugs. |
450 | - */ |
451 | - for(i = 0; i < monitor; i++) { |
452 | - GdkRectangle previous_monitor; |
453 | - GdkRegion *previous_region; |
454 | - gdk_screen_get_monitor_geometry(gscreen, i, &previous_monitor); |
455 | - |
456 | - DBG("previous_monitor: x: %d, y: %d, w: %d, h: %d", |
457 | - previous_monitor.x, previous_monitor.y, |
458 | - previous_monitor.width, previous_monitor.height); |
459 | - |
460 | - previous_region = gdk_region_rectangle(&previous_monitor); |
461 | - |
462 | - gdk_region_subtract(clip_region, previous_region); |
463 | - |
464 | - gdk_region_destroy(previous_region); |
465 | - } |
466 | - } |
467 | - |
468 | - if(clip_region != NULL) { |
469 | - /* Update the area to redraw to limit the icons/area painted */ |
470 | - gdk_region_get_clipbox(clip_region, &rect); |
471 | - DBG("area to update: x: %d, y: %d, w: %d, h: %d", |
472 | - rect.x, rect.y, rect.width, rect.height); |
473 | - } |
474 | - |
475 | - if(rect.width != 0 && rect.height != 0) { |
476 | - /* get the composited backdrop pixmap */ |
477 | - GdkPixbuf *pix = xfce_backdrop_get_pixbuf(backdrop); |
478 | - cairo_t *cr; |
479 | - |
480 | - /* create the backdrop if needed */ |
481 | - if(!pix) { |
482 | - xfce_backdrop_generate_async(backdrop); |
483 | - |
484 | - if(clip_region != NULL) |
485 | - gdk_region_destroy(clip_region); |
486 | - |
487 | - return; |
488 | - } |
489 | - |
490 | - /* Create the background pixmap if it isn't already */ |
491 | - if(!GDK_IS_PIXMAP(pmap)) { |
492 | - pmap = create_bg_pixmap(gscreen, desktop); |
493 | - |
494 | - if(!GDK_IS_PIXMAP(pmap)) { |
495 | - g_object_unref(pix); |
496 | - |
497 | - if(clip_region != NULL) |
498 | - gdk_region_destroy(clip_region); |
499 | - |
500 | - return; |
501 | - } |
502 | - } |
503 | - |
504 | - cr = gdk_cairo_create(GDK_DRAWABLE(pmap)); |
505 | - gdk_cairo_set_source_pixbuf(cr, pix, rect.x, rect.y); |
506 | - |
507 | - /* clip the area so we don't draw over a previous wallpaper */ |
508 | - if(clip_region != NULL) { |
509 | - gdk_cairo_region(cr, clip_region); |
510 | - cairo_clip(cr); |
511 | - } |
512 | - |
513 | - cairo_paint(cr); |
514 | - |
515 | - /* tell gtk to redraw the repainted area */ |
516 | - gtk_widget_queue_draw_area(GTK_WIDGET(desktop), rect.x, rect.y, |
517 | - rect.width, rect.height); |
518 | - |
519 | - set_imgfile_root_property(desktop, |
520 | - xfce_backdrop_get_image_filename(backdrop), |
521 | - monitor); |
522 | - |
523 | - /* do this again so apps watching the root win notice the update */ |
524 | - set_real_root_window_pixmap(gscreen, pmap); |
525 | - |
526 | - g_object_unref(G_OBJECT(pix)); |
527 | - cairo_destroy(cr); |
528 | - gtk_widget_show(GTK_WIDGET(desktop)); |
529 | - } |
530 | - |
531 | - if(clip_region != NULL) |
532 | - gdk_region_destroy(clip_region); |
533 | -} |
534 | - |
535 | -static void |
536 | -screen_size_changed_cb(GdkScreen *gscreen, gpointer user_data) |
537 | -{ |
538 | - XfceDesktop *desktop = user_data; |
539 | - gint current_workspace; |
540 | - |
541 | - TRACE("entering"); |
542 | - |
543 | - current_workspace = xfce_desktop_get_current_workspace(desktop); |
544 | - |
545 | - if(desktop->priv->nworkspaces <= current_workspace) |
546 | - return; |
547 | - |
548 | - if(current_workspace < 0) |
549 | - return; |
550 | - |
551 | - /* release the bg_pixmap since the dimensions may have changed */ |
552 | - if(desktop->priv->bg_pixmap) { |
553 | - g_object_unref(desktop->priv->bg_pixmap); |
554 | - desktop->priv->bg_pixmap = NULL; |
555 | - } |
556 | - |
557 | - /* special case for 1 backdrop to handle xinerama stretching */ |
558 | - if(xfce_workspace_get_xinerama_stretch(desktop->priv->workspaces[current_workspace])) { |
559 | - backdrop_changed_cb(xfce_workspace_get_backdrop(desktop->priv->workspaces[current_workspace], 0), desktop); |
560 | - } else { |
561 | - gint i; |
562 | - |
563 | - for(i = 0; i < xfce_desktop_get_n_monitors(desktop); i++) { |
564 | - XfceBackdrop *current_backdrop; |
565 | - current_backdrop = xfce_workspace_get_backdrop(desktop->priv->workspaces[current_workspace], i); |
566 | - backdrop_changed_cb(current_backdrop, desktop); |
567 | - } |
568 | - } |
569 | -} |
570 | - |
571 | -static void |
572 | -screen_composited_changed_cb(GdkScreen *gscreen, |
573 | - gpointer user_data) |
574 | -{ |
575 | - TRACE("entering"); |
576 | - /* fake a screen size changed, so the background is properly set */ |
577 | - screen_size_changed_cb(gscreen, user_data); |
578 | -} |
579 | - |
580 | -static void |
581 | -xfce_desktop_monitors_changed(GdkScreen *gscreen, |
582 | - gpointer user_data) |
583 | -{ |
584 | - XfceDesktop *desktop = XFCE_DESKTOP(user_data); |
585 | - gint i; |
586 | - |
587 | - TRACE("entering"); |
588 | - |
589 | - /* Update the workspaces */ |
590 | - for(i = 0; i < desktop->priv->nworkspaces; i++) { |
591 | - xfce_workspace_monitors_changed(desktop->priv->workspaces[i], |
592 | - gscreen); |
593 | - } |
594 | - |
595 | - /* fake a screen size changed, so the background is properly set */ |
596 | - screen_size_changed_cb(gscreen, user_data); |
597 | -} |
598 | - |
599 | -static void |
600 | -workspace_backdrop_changed_cb(XfceWorkspace *workspace, |
601 | - XfceBackdrop *backdrop, |
602 | - gpointer user_data) |
603 | -{ |
604 | - XfceDesktop *desktop = XFCE_DESKTOP(user_data); |
605 | - |
606 | - TRACE("entering"); |
607 | - |
608 | - g_return_if_fail(XFCE_IS_WORKSPACE(workspace) && XFCE_IS_BACKDROP(backdrop)); |
609 | - |
610 | - if(xfce_desktop_get_current_workspace(desktop) == xfce_workspace_get_workspace_num(workspace)) |
611 | - backdrop_changed_cb(backdrop, user_data); |
612 | -} |
613 | - |
614 | -static void |
615 | -workspace_changed_cb(WnckScreen *wnck_screen, |
616 | - WnckWorkspace *previously_active_space, |
617 | - gpointer user_data) |
618 | -{ |
619 | - XfceDesktop *desktop = XFCE_DESKTOP(user_data); |
620 | - gint current_workspace, new_workspace, i; |
621 | - XfceBackdrop *new_backdrop; |
622 | - |
623 | - TRACE("entering"); |
624 | - |
625 | - /* Ignore workspace changes in single workspace mode so long as we |
626 | - * already have the bg_pixmap loaded */ |
627 | - if(xfce_desktop_get_single_workspace_mode(desktop) && desktop->priv->bg_pixmap) |
628 | - return; |
629 | - |
630 | - current_workspace = desktop->priv->current_workspace; |
631 | - new_workspace = xfce_desktop_get_current_workspace(desktop); |
632 | - |
633 | - if(new_workspace < 0 || new_workspace >= desktop->priv->nworkspaces) |
634 | - return; |
635 | - |
636 | - desktop->priv->current_workspace = new_workspace; |
637 | - |
638 | - DBG("current_workspace %d, new_workspace %d", |
639 | - current_workspace, new_workspace); |
640 | - |
641 | - for(i = 0; i < xfce_desktop_get_n_monitors(desktop); i++) { |
642 | - /* Sanity check */ |
643 | - if(current_workspace < desktop->priv->nworkspaces && current_workspace >= 0) { |
644 | - /* update! */ |
645 | - new_backdrop = xfce_workspace_get_backdrop(desktop->priv->workspaces[new_workspace], i); |
646 | - backdrop_changed_cb(new_backdrop, user_data); |
647 | - } else { |
648 | - /* If current_workspace was removed or never existed, get the new |
649 | - * backdrop and apply it */ |
650 | - new_backdrop = xfce_workspace_get_backdrop(desktop->priv->workspaces[new_workspace], i); |
651 | - backdrop_changed_cb(new_backdrop, user_data); |
652 | - } |
653 | - |
654 | - /* When we're spanning screens we only care about the first monitor */ |
655 | - if(xfce_workspace_get_xinerama_stretch(desktop->priv->workspaces[new_workspace])) |
656 | - break; |
657 | - } |
658 | -} |
659 | - |
660 | -static void |
661 | -workspace_created_cb(WnckScreen *wnck_screen, |
662 | - WnckWorkspace *new_workspace, |
663 | - gpointer user_data) |
664 | -{ |
665 | - XfceDesktop *desktop = XFCE_DESKTOP(user_data); |
666 | - gint nlast_workspace; |
667 | - TRACE("entering"); |
668 | - |
669 | - nlast_workspace = desktop->priv->nworkspaces; |
670 | - |
671 | - /* add one more workspace */ |
672 | - desktop->priv->nworkspaces = nlast_workspace + 1; |
673 | - |
674 | - /* allocate size for it */ |
675 | - desktop->priv->workspaces = g_realloc(desktop->priv->workspaces, |
676 | - desktop->priv->nworkspaces * sizeof(XfceWorkspace *)); |
677 | - |
678 | - /* create the new workspace and set it up */ |
679 | - desktop->priv->workspaces[nlast_workspace] = xfce_workspace_new(desktop->priv->gscreen, |
680 | - desktop->priv->channel, |
681 | - desktop->priv->property_prefix, |
682 | - nlast_workspace); |
683 | - |
684 | - /* Tell workspace whether to cache pixbufs */ |
685 | - xfce_workspace_set_cache_pixbufs(desktop->priv->workspaces[nlast_workspace], |
686 | - !desktop->priv->single_workspace_mode); |
687 | - |
688 | - xfce_workspace_monitors_changed(desktop->priv->workspaces[nlast_workspace], |
689 | - desktop->priv->gscreen); |
690 | - |
691 | - g_signal_connect(desktop->priv->workspaces[nlast_workspace], |
692 | - "workspace-backdrop-changed", |
693 | - G_CALLBACK(workspace_backdrop_changed_cb), desktop); |
694 | -} |
695 | - |
696 | -static void |
697 | -workspace_destroyed_cb(WnckScreen *wnck_screen, |
698 | - WnckWorkspace *old_workspace, |
699 | - gpointer user_data) |
700 | -{ |
701 | - XfceDesktop *desktop = XFCE_DESKTOP(user_data); |
702 | - gint nlast_workspace; |
703 | - TRACE("entering"); |
704 | - |
705 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
706 | - g_return_if_fail(desktop->priv->nworkspaces - 1 >= 0); |
707 | - g_return_if_fail(XFCE_IS_WORKSPACE(desktop->priv->workspaces[desktop->priv->nworkspaces-1])); |
708 | - |
709 | - nlast_workspace = desktop->priv->nworkspaces - 1; |
710 | - |
711 | - g_signal_handlers_disconnect_by_func(desktop->priv->workspaces[nlast_workspace], |
712 | - G_CALLBACK(workspace_backdrop_changed_cb), |
713 | - desktop); |
714 | - |
715 | - g_object_unref(desktop->priv->workspaces[nlast_workspace]); |
716 | - |
717 | - /* Remove one workspace */ |
718 | - desktop->priv->nworkspaces = nlast_workspace; |
719 | - |
720 | - /* deallocate it */ |
721 | - desktop->priv->workspaces = g_realloc(desktop->priv->workspaces, |
722 | - desktop->priv->nworkspaces * sizeof(XfceWorkspace *)); |
723 | - |
724 | - /* Make sure we stay within bounds now that we removed a workspace */ |
725 | - if(desktop->priv->current_workspace > desktop->priv->nworkspaces) |
726 | - desktop->priv->current_workspace = desktop->priv->nworkspaces; |
727 | -} |
728 | - |
729 | -static void |
730 | -screen_set_selection(XfceDesktop *desktop) |
731 | -{ |
732 | - Window xwin; |
733 | - gint xscreen; |
734 | - gchar selection_name[100]; |
735 | - Atom selection_atom, manager_atom; |
736 | - |
737 | - xwin = GDK_WINDOW_XID(gtk_widget_get_window(GTK_WIDGET(desktop))); |
738 | - xscreen = gdk_screen_get_number(desktop->priv->gscreen); |
739 | - |
740 | - g_snprintf(selection_name, 100, XFDESKTOP_SELECTION_FMT, xscreen); |
741 | - selection_atom = XInternAtom(gdk_x11_get_default_xdisplay(), selection_name, False); |
742 | - manager_atom = XInternAtom(gdk_x11_get_default_xdisplay(), "MANAGER", False); |
743 | - |
744 | - /* the previous check in src/main.c occurs too early, so workaround by |
745 | - * adding this one. */ |
746 | - if(XGetSelectionOwner(gdk_x11_get_default_xdisplay(), selection_atom) != None) { |
747 | - g_warning("%s: already running, quitting.", PACKAGE); |
748 | - exit(0); |
749 | - } |
750 | - |
751 | - XSelectInput(gdk_x11_get_default_xdisplay(), xwin, PropertyChangeMask | ButtonPressMask); |
752 | - XSetSelectionOwner(gdk_x11_get_default_xdisplay(), selection_atom, xwin, GDK_CURRENT_TIME); |
753 | - |
754 | - /* Check to see if we managed to claim the selection. If not, |
755 | - * we treat it as if we got it then immediately lost it */ |
756 | - if(XGetSelectionOwner(gdk_x11_get_default_xdisplay(), selection_atom) == xwin) { |
757 | - XClientMessageEvent xev; |
758 | - Window xroot = GDK_WINDOW_XID(gdk_screen_get_root_window(desktop->priv->gscreen)); |
759 | - |
760 | - xev.type = ClientMessage; |
761 | - xev.window = xroot; |
762 | - xev.message_type = manager_atom; |
763 | - xev.format = 32; |
764 | - xev.data.l[0] = GDK_CURRENT_TIME; |
765 | - xev.data.l[1] = selection_atom; |
766 | - xev.data.l[2] = xwin; |
767 | - xev.data.l[3] = 0; /* manager specific data */ |
768 | - xev.data.l[4] = 0; /* manager specific data */ |
769 | - |
770 | - XSendEvent(gdk_x11_get_default_xdisplay(), xroot, False, StructureNotifyMask, (XEvent *)&xev); |
771 | - } else { |
772 | - g_error("%s: could not set selection ownership", PACKAGE); |
773 | - exit(1); |
774 | - } |
775 | -} |
776 | - |
777 | - |
778 | - |
779 | -/* gobject-related functions */ |
780 | - |
781 | - |
782 | -G_DEFINE_TYPE(XfceDesktop, xfce_desktop, GTK_TYPE_WINDOW) |
783 | - |
784 | - |
785 | -static void |
786 | -xfce_desktop_class_init(XfceDesktopClass *klass) |
787 | -{ |
788 | - GObjectClass *gobject_class = (GObjectClass *)klass; |
789 | - GtkWidgetClass *widget_class = (GtkWidgetClass *)klass; |
790 | - |
791 | - g_type_class_add_private(klass, sizeof(XfceDesktopPriv)); |
792 | - |
793 | - gobject_class->finalize = xfce_desktop_finalize; |
794 | - gobject_class->set_property = xfce_desktop_set_property; |
795 | - gobject_class->get_property = xfce_desktop_get_property; |
796 | - |
797 | - widget_class->realize = xfce_desktop_realize; |
798 | - widget_class->unrealize = xfce_desktop_unrealize; |
799 | - widget_class->button_press_event = xfce_desktop_button_press_event; |
800 | - widget_class->button_release_event = xfce_desktop_button_release_event; |
801 | - widget_class->expose_event = xfce_desktop_expose; |
802 | - widget_class->delete_event = xfce_desktop_delete_event; |
803 | - widget_class->popup_menu = xfce_desktop_popup_menu; |
804 | - widget_class->style_set = xfce_desktop_style_set; |
805 | - |
806 | - signals[SIG_POPULATE_ROOT_MENU] = g_signal_new("populate-root-menu", |
807 | - XFCE_TYPE_DESKTOP, |
808 | - G_SIGNAL_RUN_LAST, |
809 | - G_STRUCT_OFFSET(XfceDesktopClass, |
810 | - populate_root_menu), |
811 | - NULL, NULL, |
812 | - g_cclosure_marshal_VOID__OBJECT, |
813 | - G_TYPE_NONE, 1, |
814 | - GTK_TYPE_MENU_SHELL); |
815 | - |
816 | - signals[SIG_POPULATE_SECONDARY_ROOT_MENU] = g_signal_new("populate-secondary-root-menu", |
817 | - XFCE_TYPE_DESKTOP, |
818 | - G_SIGNAL_RUN_LAST, |
819 | - G_STRUCT_OFFSET(XfceDesktopClass, |
820 | - populate_secondary_root_menu), |
821 | - NULL, NULL, |
822 | - g_cclosure_marshal_VOID__OBJECT, |
823 | - G_TYPE_NONE, 1, |
824 | - GTK_TYPE_MENU_SHELL); |
825 | - |
826 | -#define XFDESKTOP_PARAM_FLAGS (G_PARAM_READWRITE \ |
827 | - | G_PARAM_CONSTRUCT \ |
828 | - | G_PARAM_STATIC_NAME \ |
829 | - | G_PARAM_STATIC_NICK \ |
830 | - | G_PARAM_STATIC_BLURB) |
831 | - |
832 | -#ifdef ENABLE_DESKTOP_ICONS |
833 | - g_object_class_install_property(gobject_class, PROP_ICON_STYLE, |
834 | - g_param_spec_enum("icon-style", |
835 | - "icon style", |
836 | - "icon style", |
837 | - XFCE_TYPE_DESKTOP_ICON_STYLE, |
838 | -#ifdef ENABLE_FILE_ICONS |
839 | - XFCE_DESKTOP_ICON_STYLE_FILES, |
840 | -#else |
841 | - XFCE_DESKTOP_ICON_STYLE_WINDOWS, |
842 | -#endif /* ENABLE_FILE_ICONS */ |
843 | - XFDESKTOP_PARAM_FLAGS)); |
844 | - |
845 | - g_object_class_install_property(gobject_class, PROP_ICON_SIZE, |
846 | - g_param_spec_uint("icon-size", |
847 | - "icon size", |
848 | - "icon size", |
849 | - 8, 192, 36, |
850 | - XFDESKTOP_PARAM_FLAGS)); |
851 | - |
852 | - g_object_class_install_property(gobject_class, PROP_ICON_FONT_SIZE, |
853 | - g_param_spec_uint("icon-font-size", |
854 | - "icon font size", |
855 | - "icon font size", |
856 | - 0, 144, 12, |
857 | - XFDESKTOP_PARAM_FLAGS)); |
858 | - |
859 | - g_object_class_install_property(gobject_class, PROP_ICON_FONT_SIZE_SET, |
860 | - g_param_spec_boolean("icon-font-size-set", |
861 | - "icon font size set", |
862 | - "icon font size set", |
863 | - FALSE, |
864 | - XFDESKTOP_PARAM_FLAGS)); |
865 | - |
866 | -#endif /* ENABLE_DESKTOP_ICONS */ |
867 | - |
868 | - g_object_class_install_property(gobject_class, PROP_SINGLE_WORKSPACE_MODE, |
869 | - g_param_spec_boolean("single-workspace-mode", |
870 | - "single-workspace-mode", |
871 | - "single-workspace-mode", |
872 | - TRUE, |
873 | - XFDESKTOP_PARAM_FLAGS)); |
874 | - |
875 | - g_object_class_install_property(gobject_class, PROP_SINGLE_WORKSPACE_NUMBER, |
876 | - g_param_spec_int("single-workspace-number", |
877 | - "single-workspace-number", |
878 | - "single-workspace-number", |
879 | - 0, G_MAXINT16, 0, |
880 | - XFDESKTOP_PARAM_FLAGS)); |
881 | - |
882 | -#undef XFDESKTOP_PARAM_FLAGS |
883 | -} |
884 | - |
885 | -static void |
886 | -xfce_desktop_init(XfceDesktop *desktop) |
887 | -{ |
888 | - desktop->priv = G_TYPE_INSTANCE_GET_PRIVATE(desktop, XFCE_TYPE_DESKTOP, |
889 | - XfceDesktopPriv); |
890 | - |
891 | - gtk_window_set_type_hint(GTK_WINDOW(desktop), GDK_WINDOW_TYPE_HINT_DESKTOP); |
892 | - /* Accept focus is needed for the menu pop up either by the menu key on |
893 | - * the keyboard or Shift+F10. */ |
894 | - gtk_window_set_accept_focus(GTK_WINDOW(desktop), TRUE); |
895 | - /* Can focus is needed for the gtk_grab_add/remove commands */ |
896 | - gtk_widget_set_can_focus(GTK_WIDGET(desktop), TRUE); |
897 | - gtk_window_set_resizable(GTK_WINDOW(desktop), FALSE); |
898 | -} |
899 | - |
900 | -static void |
901 | -xfce_desktop_finalize(GObject *object) |
902 | -{ |
903 | - XfceDesktop *desktop = XFCE_DESKTOP(object); |
904 | - |
905 | - g_object_unref(G_OBJECT(desktop->priv->channel)); |
906 | - g_free(desktop->priv->property_prefix); |
907 | - |
908 | - if(desktop->priv->style_refresh_timer != 0) |
909 | - g_source_remove(desktop->priv->style_refresh_timer); |
910 | - |
911 | - G_OBJECT_CLASS(xfce_desktop_parent_class)->finalize(object); |
912 | -} |
913 | - |
914 | -static void |
915 | -xfce_desktop_set_property(GObject *object, |
916 | - guint property_id, |
917 | - const GValue *value, |
918 | - GParamSpec *pspec) |
919 | -{ |
920 | - XfceDesktop *desktop = XFCE_DESKTOP(object); |
921 | - |
922 | - switch(property_id) { |
923 | -#ifdef ENABLE_DESKTOP_ICONS |
924 | - case PROP_ICON_STYLE: |
925 | - xfce_desktop_set_icon_style(desktop, |
926 | - g_value_get_enum(value)); |
927 | - break; |
928 | - |
929 | - case PROP_ICON_SIZE: |
930 | - xfce_desktop_set_icon_size(desktop, |
931 | - g_value_get_uint(value)); |
932 | - break; |
933 | - |
934 | - case PROP_ICON_FONT_SIZE: |
935 | - xfce_desktop_set_icon_font_size(desktop, |
936 | - g_value_get_uint(value)); |
937 | - break; |
938 | - |
939 | - case PROP_ICON_FONT_SIZE_SET: |
940 | - xfce_desktop_set_use_icon_font_size(desktop, |
941 | - g_value_get_boolean(value)); |
942 | - break; |
943 | - |
944 | -#endif |
945 | - case PROP_SINGLE_WORKSPACE_MODE: |
946 | - xfce_desktop_set_single_workspace_mode(desktop, |
947 | - g_value_get_boolean(value)); |
948 | - break; |
949 | - |
950 | - case PROP_SINGLE_WORKSPACE_NUMBER: |
951 | - xfce_desktop_set_single_workspace_number(desktop, |
952 | - g_value_get_int(value)); |
953 | - break; |
954 | - |
955 | - default: |
956 | - G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec); |
957 | - break; |
958 | - } |
959 | -} |
960 | - |
961 | -static void |
962 | -xfce_desktop_get_property(GObject *object, |
963 | - guint property_id, |
964 | - GValue *value, |
965 | - GParamSpec *pspec) |
966 | -{ |
967 | - XfceDesktop *desktop = XFCE_DESKTOP(object); |
968 | - |
969 | - switch(property_id) { |
970 | -#ifdef ENABLE_DESKTOP_ICONS |
971 | - case PROP_ICON_STYLE: |
972 | - g_value_set_enum(value, desktop->priv->icons_style); |
973 | - break; |
974 | - |
975 | - case PROP_ICON_SIZE: |
976 | - g_value_set_uint(value, desktop->priv->icons_size); |
977 | - break; |
978 | - |
979 | - case PROP_ICON_FONT_SIZE: |
980 | - g_value_set_uint(value, desktop->priv->icons_font_size); |
981 | - break; |
982 | - |
983 | - case PROP_ICON_FONT_SIZE_SET: |
984 | - g_value_set_boolean(value, desktop->priv->icons_font_size_set); |
985 | - break; |
986 | - |
987 | -#endif |
988 | - case PROP_SINGLE_WORKSPACE_MODE: |
989 | - g_value_set_boolean(value, desktop->priv->single_workspace_mode); |
990 | - break; |
991 | - |
992 | - case PROP_SINGLE_WORKSPACE_NUMBER: |
993 | - g_value_set_int(value, desktop->priv->single_workspace_num); |
994 | - break; |
995 | - |
996 | - default: |
997 | - G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec); |
998 | - break; |
999 | - } |
1000 | -} |
1001 | - |
1002 | -static void |
1003 | -xfce_desktop_realize(GtkWidget *widget) |
1004 | -{ |
1005 | - XfceDesktop *desktop = XFCE_DESKTOP(widget); |
1006 | - GdkAtom atom; |
1007 | - gint sw, sh; |
1008 | - Window xid; |
1009 | - GdkWindow *groot; |
1010 | - WnckScreen *wnck_screen; |
1011 | - |
1012 | - TRACE("entering"); |
1013 | - |
1014 | - gtk_window_set_screen(GTK_WINDOW(desktop), desktop->priv->gscreen); |
1015 | - sw = gdk_screen_get_width(desktop->priv->gscreen); |
1016 | - sh = gdk_screen_get_height(desktop->priv->gscreen); |
1017 | - if(gtk_major_version > 2 |
1018 | - || (gtk_major_version == 2 && gtk_minor_version >= 13)) |
1019 | - { |
1020 | - g_signal_connect(G_OBJECT(desktop->priv->gscreen), |
1021 | - "monitors-changed", |
1022 | - G_CALLBACK(xfce_desktop_monitors_changed), |
1023 | - desktop); |
1024 | - } |
1025 | - |
1026 | - /* chain up */ |
1027 | - GTK_WIDGET_CLASS(xfce_desktop_parent_class)->realize(widget); |
1028 | - |
1029 | - gtk_window_set_title(GTK_WINDOW(desktop), _("Desktop")); |
1030 | - |
1031 | - gtk_widget_set_size_request(GTK_WIDGET(desktop), sw, sh); |
1032 | - gtk_window_move(GTK_WINDOW(desktop), 0, 0); |
1033 | - |
1034 | - atom = gdk_atom_intern("_NET_WM_WINDOW_TYPE_DESKTOP", FALSE); |
1035 | - gdk_property_change(gtk_widget_get_window(GTK_WIDGET(desktop)), |
1036 | - gdk_atom_intern("_NET_WM_WINDOW_TYPE", FALSE), |
1037 | - gdk_atom_intern("ATOM", FALSE), 32, |
1038 | - GDK_PROP_MODE_REPLACE, (guchar *)&atom, 1); |
1039 | - |
1040 | - xid = GDK_WINDOW_XID(gtk_widget_get_window(GTK_WIDGET(desktop))); |
1041 | - groot = gdk_screen_get_root_window(desktop->priv->gscreen); |
1042 | - |
1043 | - gdk_property_change(groot, |
1044 | - gdk_atom_intern("XFCE_DESKTOP_WINDOW", FALSE), |
1045 | - gdk_atom_intern("WINDOW", FALSE), 32, |
1046 | - GDK_PROP_MODE_REPLACE, (guchar *)&xid, 1); |
1047 | - |
1048 | - gdk_property_change(groot, |
1049 | - gdk_atom_intern("NAUTILUS_DESKTOP_WINDOW_ID", FALSE), |
1050 | - gdk_atom_intern("WINDOW", FALSE), 32, |
1051 | - GDK_PROP_MODE_REPLACE, (guchar *)&xid, 1); |
1052 | - |
1053 | - screen_set_selection(desktop); |
1054 | - |
1055 | - wnck_screen = wnck_screen_get(gdk_screen_get_number(desktop->priv->gscreen)); |
1056 | - desktop->priv->wnck_screen = wnck_screen; |
1057 | - |
1058 | - /* Watch for single workspace setting changes */ |
1059 | - xfconf_g_property_bind(desktop->priv->channel, |
1060 | - SINGLE_WORKSPACE_MODE, G_TYPE_BOOLEAN, |
1061 | - G_OBJECT(desktop), "single-workspace-mode"); |
1062 | - xfconf_g_property_bind(desktop->priv->channel, |
1063 | - SINGLE_WORKSPACE_NUMBER, G_TYPE_INT, |
1064 | - G_OBJECT(desktop), "single-workspace-number"); |
1065 | - |
1066 | - /* watch for workspace changes */ |
1067 | - g_signal_connect(desktop->priv->wnck_screen, "active-workspace-changed", |
1068 | - G_CALLBACK(workspace_changed_cb), desktop); |
1069 | - g_signal_connect(desktop->priv->wnck_screen, "workspace-created", |
1070 | - G_CALLBACK(workspace_created_cb), desktop); |
1071 | - g_signal_connect(desktop->priv->wnck_screen, "workspace-destroyed", |
1072 | - G_CALLBACK(workspace_destroyed_cb), desktop); |
1073 | - |
1074 | - /* watch for screen changes */ |
1075 | - g_signal_connect(G_OBJECT(desktop->priv->gscreen), "size-changed", |
1076 | - G_CALLBACK(screen_size_changed_cb), desktop); |
1077 | - g_signal_connect(G_OBJECT(desktop->priv->gscreen), "composited-changed", |
1078 | - G_CALLBACK(screen_composited_changed_cb), desktop); |
1079 | - |
1080 | - gtk_widget_add_events(GTK_WIDGET(desktop), GDK_EXPOSURE_MASK); |
1081 | - |
1082 | -#ifdef ENABLE_DESKTOP_ICONS |
1083 | - xfce_desktop_setup_icon_view(desktop); |
1084 | -#endif |
1085 | - |
1086 | - TRACE("exiting"); |
1087 | -} |
1088 | - |
1089 | -static void |
1090 | -xfce_desktop_unrealize(GtkWidget *widget) |
1091 | -{ |
1092 | - XfceDesktop *desktop = XFCE_DESKTOP(widget); |
1093 | - gint i; |
1094 | - GdkWindow *groot; |
1095 | - gchar property_name[128]; |
1096 | - |
1097 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1098 | - |
1099 | - /* disconnect all the xfconf settings to this desktop */ |
1100 | - xfconf_g_property_unbind_all(G_OBJECT(desktop)); |
1101 | - |
1102 | - g_signal_handlers_disconnect_by_func(G_OBJECT(desktop->priv->gscreen), |
1103 | - G_CALLBACK(xfce_desktop_monitors_changed), |
1104 | - desktop); |
1105 | - |
1106 | - if(gtk_widget_get_mapped(widget)) |
1107 | - gtk_widget_unmap(widget); |
1108 | - gtk_widget_set_mapped(widget, FALSE); |
1109 | - |
1110 | - gtk_container_forall(GTK_CONTAINER(widget), |
1111 | - (GtkCallback)gtk_widget_unrealize, |
1112 | - NULL); |
1113 | - |
1114 | - g_signal_handlers_disconnect_by_func(G_OBJECT(desktop->priv->gscreen), |
1115 | - G_CALLBACK(screen_size_changed_cb), desktop); |
1116 | - g_signal_handlers_disconnect_by_func(G_OBJECT(desktop->priv->gscreen), |
1117 | - G_CALLBACK(screen_composited_changed_cb), desktop); |
1118 | - |
1119 | - gdk_error_trap_push(); |
1120 | - |
1121 | - groot = gdk_screen_get_root_window(desktop->priv->gscreen); |
1122 | - gdk_property_delete(groot, gdk_atom_intern("XFCE_DESKTOP_WINDOW", FALSE)); |
1123 | - gdk_property_delete(groot, gdk_atom_intern("NAUTILUS_DESKTOP_WINDOW_ID", FALSE)); |
1124 | - |
1125 | -#ifndef DISABLE_FOR_BUG7442 |
1126 | - gdk_property_delete(groot, gdk_atom_intern("_XROOTPMAP_ID", FALSE)); |
1127 | - gdk_property_delete(groot, gdk_atom_intern("ESETROOT_PMAP_ID", FALSE)); |
1128 | - gdk_window_set_back_pixmap(groot, NULL, FALSE); |
1129 | -#endif |
1130 | - |
1131 | - if(desktop->priv->workspaces) { |
1132 | - for(i = 0; i < desktop->priv->nworkspaces; i++) { |
1133 | - g_snprintf(property_name, 128, XFDESKTOP_IMAGE_FILE_FMT, i); |
1134 | - gdk_property_delete(groot, gdk_atom_intern(property_name, FALSE)); |
1135 | - g_object_unref(G_OBJECT(desktop->priv->workspaces[i])); |
1136 | - } |
1137 | - g_free(desktop->priv->workspaces); |
1138 | - desktop->priv->workspaces = NULL; |
1139 | - } |
1140 | - |
1141 | - gdk_flush(); |
1142 | - gdk_error_trap_pop(); |
1143 | - |
1144 | - if(desktop->priv->bg_pixmap) { |
1145 | - g_object_unref(G_OBJECT(desktop->priv->bg_pixmap)); |
1146 | - desktop->priv->bg_pixmap = NULL; |
1147 | - } |
1148 | - |
1149 | - gtk_window_set_icon(GTK_WINDOW(widget), NULL); |
1150 | - |
1151 | - gtk_style_detach(gtk_widget_get_style(widget)); |
1152 | - g_object_unref(G_OBJECT(gtk_widget_get_window(widget))); |
1153 | - gtk_widget_set_window(widget, NULL); |
1154 | - |
1155 | - gtk_selection_remove_all(widget); |
1156 | - |
1157 | - gtk_widget_set_realized(widget, FALSE); |
1158 | -} |
1159 | - |
1160 | -static gboolean |
1161 | -xfce_desktop_button_press_event(GtkWidget *w, |
1162 | - GdkEventButton *evt) |
1163 | -{ |
1164 | - guint button = evt->button; |
1165 | - guint state = evt->state; |
1166 | - XfceDesktop *desktop = XFCE_DESKTOP(w); |
1167 | - |
1168 | - TRACE("entering"); |
1169 | - |
1170 | - g_return_val_if_fail(XFCE_IS_DESKTOP(w), FALSE); |
1171 | - |
1172 | - if(evt->type == GDK_BUTTON_PRESS) { |
1173 | - if(button == 3 || (button == 1 && (state & GDK_SHIFT_MASK))) { |
1174 | -#ifdef ENABLE_DESKTOP_ICONS |
1175 | - /* Let the icon view handle these menu pop ups */ |
1176 | - if(desktop->priv->icons_style != XFCE_DESKTOP_ICON_STYLE_NONE) |
1177 | - return FALSE; |
1178 | -#endif |
1179 | - /* no icons on the desktop, grab the focus and pop up the menu */ |
1180 | - if(!gtk_widget_has_grab(w)) |
1181 | - gtk_grab_add(w); |
1182 | - |
1183 | - xfce_desktop_popup_root_menu(desktop, button, evt->time); |
1184 | - return TRUE; |
1185 | - } else if(button == 2 || (button == 1 && (state & GDK_SHIFT_MASK) |
1186 | - && (state & GDK_CONTROL_MASK))) |
1187 | - { |
1188 | - /* always grab the focus and pop up the menu */ |
1189 | - if(!gtk_widget_has_grab(w)) |
1190 | - gtk_grab_add(w); |
1191 | - |
1192 | - xfce_desktop_popup_secondary_root_menu(desktop, button, evt->time); |
1193 | - return TRUE; |
1194 | - } |
1195 | - } |
1196 | - |
1197 | - return FALSE; |
1198 | -} |
1199 | - |
1200 | -static gboolean |
1201 | -xfce_desktop_button_release_event(GtkWidget *w, |
1202 | - GdkEventButton *evt) |
1203 | -{ |
1204 | - TRACE("entering"); |
1205 | - |
1206 | - gtk_grab_remove(w); |
1207 | - |
1208 | - return FALSE; |
1209 | -} |
1210 | - |
1211 | -/* This function gets called when the user presses the menu key on the keyboard. |
1212 | - * Or Shift+F10 or whatever key binding the user has chosen. */ |
1213 | -static gboolean |
1214 | -xfce_desktop_popup_menu(GtkWidget *w) |
1215 | -{ |
1216 | - GdkEventButton *evt; |
1217 | - guint button, etime; |
1218 | - |
1219 | - TRACE("entering"); |
1220 | - |
1221 | - evt = (GdkEventButton *)gtk_get_current_event(); |
1222 | - if(evt && GDK_BUTTON_PRESS == evt->type) { |
1223 | - button = evt->button; |
1224 | - etime = evt->time; |
1225 | - } else { |
1226 | - button = 0; |
1227 | - etime = gtk_get_current_event_time(); |
1228 | - } |
1229 | - |
1230 | - xfce_desktop_popup_root_menu(XFCE_DESKTOP(w), button, etime); |
1231 | - |
1232 | - return TRUE; |
1233 | -} |
1234 | - |
1235 | -static gboolean |
1236 | -xfce_desktop_expose(GtkWidget *w, |
1237 | - GdkEventExpose *evt) |
1238 | -{ |
1239 | - GList *children, *l; |
1240 | - |
1241 | - /*TRACE("entering");*/ |
1242 | - |
1243 | - if(evt->count != 0) |
1244 | - return FALSE; |
1245 | - |
1246 | - gdk_window_clear_area(gtk_widget_get_window(w), evt->area.x, evt->area.y, |
1247 | - evt->area.width, evt->area.height); |
1248 | - |
1249 | - children = gtk_container_get_children(GTK_CONTAINER(w)); |
1250 | - for(l = children; l; l = l->next) { |
1251 | - gtk_container_propagate_expose(GTK_CONTAINER(w), |
1252 | - GTK_WIDGET(l->data), |
1253 | - evt); |
1254 | - } |
1255 | - g_list_free(children); |
1256 | - |
1257 | - return FALSE; |
1258 | -} |
1259 | - |
1260 | -static gboolean |
1261 | -xfce_desktop_delete_event(GtkWidget *w, |
1262 | - GdkEventAny *evt) |
1263 | -{ |
1264 | - if(XFCE_DESKTOP(w)->priv->session_logout_func) |
1265 | - XFCE_DESKTOP(w)->priv->session_logout_func(); |
1266 | - |
1267 | - return TRUE; |
1268 | -} |
1269 | - |
1270 | -static gboolean |
1271 | -style_refresh_cb(gpointer *w) |
1272 | -{ |
1273 | - XfceDesktop *desktop = XFCE_DESKTOP(w); |
1274 | - |
1275 | - xfce_desktop_refresh(desktop); |
1276 | - desktop->priv->style_refresh_timer = 0; |
1277 | - |
1278 | - return FALSE; |
1279 | -} |
1280 | - |
1281 | -static void |
1282 | -xfce_desktop_style_set(GtkWidget *w, GtkStyle *old_style) |
1283 | -{ |
1284 | - XfceDesktop *desktop = XFCE_DESKTOP(w); |
1285 | - |
1286 | - if(desktop->priv->style_refresh_timer != 0) |
1287 | - g_source_remove(desktop->priv->style_refresh_timer); |
1288 | - |
1289 | - desktop->priv->style_refresh_timer = g_timeout_add_seconds(1, (GSourceFunc)style_refresh_cb, w); |
1290 | -} |
1291 | - |
1292 | -static void |
1293 | -xfce_desktop_connect_settings(XfceDesktop *desktop) |
1294 | -{ |
1295 | -#ifdef ENABLE_DESKTOP_ICONS |
1296 | -#define ICONS_PREFIX "/desktop-icons/" |
1297 | - XfconfChannel *channel = desktop->priv->channel; |
1298 | - |
1299 | - xfce_desktop_freeze_updates(desktop); |
1300 | - |
1301 | - xfconf_g_property_bind(channel, ICONS_PREFIX "style", |
1302 | - XFCE_TYPE_DESKTOP_ICON_STYLE, |
1303 | - G_OBJECT(desktop), "icon-style"); |
1304 | - xfconf_g_property_bind(channel, ICONS_PREFIX "icon-size", G_TYPE_UINT, |
1305 | - G_OBJECT(desktop), "icon-size"); |
1306 | - xfconf_g_property_bind(channel, ICONS_PREFIX "font-size", G_TYPE_UINT, |
1307 | - G_OBJECT(desktop), "icon-font-size"); |
1308 | - xfconf_g_property_bind(channel, ICONS_PREFIX "use-custom-font-size", |
1309 | - G_TYPE_BOOLEAN, |
1310 | - G_OBJECT(desktop), "icon-font-size-set"); |
1311 | - |
1312 | - xfce_desktop_thaw_updates(desktop); |
1313 | -#undef ICONS_PREFIX |
1314 | -#endif |
1315 | -} |
1316 | - |
1317 | -static gboolean |
1318 | -xfce_desktop_get_single_workspace_mode(XfceDesktop *desktop) |
1319 | -{ |
1320 | - g_return_val_if_fail(XFCE_IS_DESKTOP(desktop), TRUE); |
1321 | - |
1322 | - return desktop->priv->single_workspace_mode; |
1323 | -} |
1324 | - |
1325 | -static gint |
1326 | -xfce_desktop_get_current_workspace(XfceDesktop *desktop) |
1327 | -{ |
1328 | - WnckWorkspace *wnck_workspace; |
1329 | - gint workspace_num, current_workspace; |
1330 | - |
1331 | - g_return_val_if_fail(XFCE_IS_DESKTOP(desktop), -1); |
1332 | - |
1333 | - wnck_workspace = wnck_screen_get_active_workspace(desktop->priv->wnck_screen); |
1334 | - |
1335 | - if(wnck_workspace != NULL) { |
1336 | - workspace_num = wnck_workspace_get_number(wnck_workspace); |
1337 | - } else { |
1338 | - workspace_num = desktop->priv->nworkspaces; |
1339 | - } |
1340 | - |
1341 | - /* If we're in single_workspace mode we need to return the workspace that |
1342 | - * it was set to, if possible, otherwise return the current workspace */ |
1343 | - if(xfce_desktop_get_single_workspace_mode(desktop) && |
1344 | - desktop->priv->single_workspace_num < desktop->priv->nworkspaces) { |
1345 | - current_workspace = desktop->priv->single_workspace_num; |
1346 | - } else { |
1347 | - current_workspace = workspace_num; |
1348 | - } |
1349 | - |
1350 | - DBG("workspace_num %d, single_workspace_num %d, current_workspace %d, max workspaces %d", |
1351 | - workspace_num, desktop->priv->single_workspace_num, current_workspace, |
1352 | - desktop->priv->nworkspaces); |
1353 | - |
1354 | - return current_workspace; |
1355 | -} |
1356 | - |
1357 | -/* public api */ |
1358 | - |
1359 | -/** |
1360 | - * xfce_desktop_new: |
1361 | - * @gscreen: The current #GdkScreen. |
1362 | - * @channel: An #XfconfChannel to use for settings. |
1363 | - * @property_prefix: String prefix for per-screen properties. |
1364 | - * |
1365 | - * Creates a new #XfceDesktop for the specified #GdkScreen. If @gscreen is |
1366 | - * %NULL, the default screen will be used. |
1367 | - * |
1368 | - * Return value: A new #XfceDesktop. |
1369 | - **/ |
1370 | -GtkWidget * |
1371 | -xfce_desktop_new(GdkScreen *gscreen, |
1372 | - XfconfChannel *channel, |
1373 | - const gchar *property_prefix) |
1374 | -{ |
1375 | - XfceDesktop *desktop; |
1376 | - |
1377 | - g_return_val_if_fail(channel && property_prefix, NULL); |
1378 | - |
1379 | - desktop = g_object_new(XFCE_TYPE_DESKTOP, NULL); |
1380 | - |
1381 | - if(!gscreen) |
1382 | - gscreen = gdk_display_get_default_screen(gdk_display_get_default()); |
1383 | - gtk_window_set_screen(GTK_WINDOW(desktop), gscreen); |
1384 | - desktop->priv->gscreen = gscreen; |
1385 | - |
1386 | - desktop->priv->channel = g_object_ref(G_OBJECT(channel)); |
1387 | - desktop->priv->property_prefix = g_strdup(property_prefix); |
1388 | - |
1389 | - xfce_desktop_connect_settings(desktop); |
1390 | - |
1391 | - return GTK_WIDGET(desktop); |
1392 | -} |
1393 | - |
1394 | -gint |
1395 | -xfce_desktop_get_n_monitors(XfceDesktop *desktop) |
1396 | -{ |
1397 | - g_return_val_if_fail(XFCE_IS_DESKTOP(desktop), 0); |
1398 | - |
1399 | - return gdk_screen_get_n_monitors(desktop->priv->gscreen); |
1400 | -} |
1401 | - |
1402 | -gint |
1403 | -xfce_desktop_get_width(XfceDesktop *desktop) |
1404 | -{ |
1405 | - g_return_val_if_fail(XFCE_IS_DESKTOP(desktop), -1); |
1406 | - |
1407 | - return gdk_screen_get_width(desktop->priv->gscreen); |
1408 | -} |
1409 | - |
1410 | -gint |
1411 | -xfce_desktop_get_height(XfceDesktop *desktop) |
1412 | -{ |
1413 | - g_return_val_if_fail(XFCE_IS_DESKTOP(desktop), -1); |
1414 | - |
1415 | - return gdk_screen_get_height(desktop->priv->gscreen); |
1416 | -} |
1417 | - |
1418 | -void |
1419 | -xfce_desktop_set_icon_style(XfceDesktop *desktop, |
1420 | - XfceDesktopIconStyle style) |
1421 | -{ |
1422 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop) |
1423 | - && style <= XFCE_DESKTOP_ICON_STYLE_FILES); |
1424 | - |
1425 | -#ifdef ENABLE_DESKTOP_ICONS |
1426 | - if(style == desktop->priv->icons_style) |
1427 | - return; |
1428 | - |
1429 | - if(desktop->priv->icon_view) { |
1430 | - gtk_widget_destroy(desktop->priv->icon_view); |
1431 | - desktop->priv->icon_view = NULL; |
1432 | - } |
1433 | - |
1434 | - desktop->priv->icons_style = style; |
1435 | - if(gtk_widget_get_realized(GTK_WIDGET(desktop))) |
1436 | - xfce_desktop_setup_icon_view(desktop); |
1437 | -#endif |
1438 | -} |
1439 | - |
1440 | -XfceDesktopIconStyle |
1441 | -xfce_desktop_get_icon_style(XfceDesktop *desktop) |
1442 | -{ |
1443 | - g_return_val_if_fail(XFCE_IS_DESKTOP(desktop), XFCE_DESKTOP_ICON_STYLE_NONE); |
1444 | - |
1445 | -#ifdef ENABLE_DESKTOP_ICONS |
1446 | - return desktop->priv->icons_style; |
1447 | -#else |
1448 | - return XFCE_DESKTOP_ICON_STYLE_NONE; |
1449 | -#endif |
1450 | -} |
1451 | - |
1452 | -void |
1453 | -xfce_desktop_set_icon_size(XfceDesktop *desktop, |
1454 | - guint icon_size) |
1455 | -{ |
1456 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1457 | - |
1458 | -#ifdef ENABLE_DESKTOP_ICONS |
1459 | - if(icon_size == desktop->priv->icons_size) |
1460 | - return; |
1461 | - |
1462 | - desktop->priv->icons_size = icon_size; |
1463 | - |
1464 | - if(desktop->priv->icon_view) { |
1465 | - xfdesktop_icon_view_set_icon_size(XFDESKTOP_ICON_VIEW(desktop->priv->icon_view), |
1466 | - icon_size); |
1467 | - } |
1468 | -#endif |
1469 | -} |
1470 | - |
1471 | -void |
1472 | -xfce_desktop_set_icon_font_size(XfceDesktop *desktop, |
1473 | - guint font_size_points) |
1474 | -{ |
1475 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1476 | - |
1477 | -#ifdef ENABLE_DESKTOP_ICONS |
1478 | - if(font_size_points == desktop->priv->icons_font_size) |
1479 | - return; |
1480 | - |
1481 | - desktop->priv->icons_font_size = font_size_points; |
1482 | - |
1483 | - if(desktop->priv->icons_font_size_set && desktop->priv->icon_view) { |
1484 | - xfdesktop_icon_view_set_font_size(XFDESKTOP_ICON_VIEW(desktop->priv->icon_view), |
1485 | - font_size_points); |
1486 | - } |
1487 | -#endif |
1488 | -} |
1489 | - |
1490 | -void |
1491 | -xfce_desktop_set_use_icon_font_size(XfceDesktop *desktop, |
1492 | - gboolean use_icon_font_size) |
1493 | -{ |
1494 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1495 | - |
1496 | -#ifdef ENABLE_DESKTOP_ICONS |
1497 | - if(use_icon_font_size == desktop->priv->icons_font_size_set) |
1498 | - return; |
1499 | - |
1500 | - desktop->priv->icons_font_size_set = use_icon_font_size; |
1501 | - |
1502 | - if(desktop->priv->icon_view) { |
1503 | - if(!use_icon_font_size) { |
1504 | - xfce_desktop_ensure_system_font_size(desktop); |
1505 | - xfdesktop_icon_view_set_font_size(XFDESKTOP_ICON_VIEW(desktop->priv->icon_view), |
1506 | - desktop->priv->system_font_size); |
1507 | - } else { |
1508 | - xfdesktop_icon_view_set_font_size(XFDESKTOP_ICON_VIEW(desktop->priv->icon_view), |
1509 | - desktop->priv->icons_font_size); |
1510 | - } |
1511 | - } |
1512 | -#endif |
1513 | -} |
1514 | - |
1515 | -static void |
1516 | -xfce_desktop_set_single_workspace_mode(XfceDesktop *desktop, |
1517 | - gboolean single_workspace) |
1518 | -{ |
1519 | - gint i; |
1520 | - |
1521 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1522 | - |
1523 | - if(single_workspace == desktop->priv->single_workspace_mode) |
1524 | - return; |
1525 | - |
1526 | - desktop->priv->single_workspace_mode = single_workspace; |
1527 | - |
1528 | - DBG("single_workspace_mode now %s", single_workspace ? "TRUE" : "FALSE"); |
1529 | - |
1530 | - /* update the workspaces & backdrops if they should cache their pixbuf */ |
1531 | - if(desktop->priv->workspaces) { |
1532 | - for(i = 0; i < desktop->priv->nworkspaces; i++) { |
1533 | - /* set cache to TRUE when single_workspace is FALSE */ |
1534 | - xfce_workspace_set_cache_pixbufs(desktop->priv->workspaces[i], !single_workspace); |
1535 | - } |
1536 | - } |
1537 | - |
1538 | - /* If the desktop has been realized then fake a screen size change to |
1539 | - * update the backdrop. There's no reason to if there's no desktop yet */ |
1540 | - if(gtk_widget_get_realized(GTK_WIDGET(desktop))) |
1541 | - screen_size_changed_cb(desktop->priv->gscreen, desktop); |
1542 | -} |
1543 | - |
1544 | -static void |
1545 | -xfce_desktop_set_single_workspace_number(XfceDesktop *desktop, |
1546 | - gint workspace_num) |
1547 | -{ |
1548 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1549 | - |
1550 | - if(workspace_num == desktop->priv->single_workspace_num) |
1551 | - return; |
1552 | - |
1553 | - DBG("single_workspace_num now %d", workspace_num); |
1554 | - |
1555 | - desktop->priv->single_workspace_num = workspace_num; |
1556 | - |
1557 | - if(xfce_desktop_get_single_workspace_mode(desktop)) { |
1558 | - /* Fake a screen size changed to update the backdrop */ |
1559 | - screen_size_changed_cb(desktop->priv->gscreen, desktop); |
1560 | - } |
1561 | -} |
1562 | - |
1563 | -void |
1564 | -xfce_desktop_set_session_logout_func(XfceDesktop *desktop, |
1565 | - SessionLogoutFunc logout_func) |
1566 | -{ |
1567 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1568 | - desktop->priv->session_logout_func = logout_func; |
1569 | -} |
1570 | - |
1571 | -void |
1572 | -xfce_desktop_freeze_updates(XfceDesktop *desktop) |
1573 | -{ |
1574 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1575 | - desktop->priv->updates_frozen = TRUE; |
1576 | -} |
1577 | - |
1578 | -void |
1579 | -xfce_desktop_thaw_updates(XfceDesktop *desktop) |
1580 | -{ |
1581 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1582 | - |
1583 | - desktop->priv->updates_frozen = FALSE; |
1584 | - if(gtk_widget_get_realized(GTK_WIDGET(desktop))) |
1585 | - xfce_desktop_monitors_changed(desktop->priv->gscreen, desktop); |
1586 | -} |
1587 | - |
1588 | -static gboolean |
1589 | -xfce_desktop_menu_destroy_idled(gpointer data) |
1590 | -{ |
1591 | - gtk_widget_destroy(GTK_WIDGET(data)); |
1592 | - return FALSE; |
1593 | -} |
1594 | - |
1595 | -static void |
1596 | -xfce_desktop_do_menu_popup(XfceDesktop *desktop, |
1597 | - guint button, |
1598 | - guint activate_time, |
1599 | - guint populate_signal) |
1600 | -{ |
1601 | - GdkScreen *screen; |
1602 | - GtkWidget *menu; |
1603 | - GList *menu_children; |
1604 | - |
1605 | - TRACE("entering"); |
1606 | - |
1607 | - if(gtk_widget_has_screen(GTK_WIDGET(desktop))) |
1608 | - screen = gtk_widget_get_screen(GTK_WIDGET(desktop)); |
1609 | - else |
1610 | - screen = gdk_display_get_default_screen(gdk_display_get_default()); |
1611 | - |
1612 | - menu = gtk_menu_new(); |
1613 | - gtk_menu_set_screen(GTK_MENU(menu), screen); |
1614 | - g_signal_connect_swapped(G_OBJECT(menu), "deactivate", |
1615 | - G_CALLBACK(g_idle_add), |
1616 | - (gpointer)xfce_desktop_menu_destroy_idled); |
1617 | - |
1618 | - g_signal_emit(G_OBJECT(desktop), populate_signal, 0, menu); |
1619 | - |
1620 | - /* if nobody populated the menu, don't do anything */ |
1621 | - menu_children = gtk_container_get_children(GTK_CONTAINER(menu)); |
1622 | - if(!menu_children) { |
1623 | - gtk_widget_destroy(menu); |
1624 | - return; |
1625 | - } |
1626 | - |
1627 | - g_list_free(menu_children); |
1628 | - |
1629 | - gtk_menu_attach_to_widget(GTK_MENU(menu), GTK_WIDGET(desktop), NULL); |
1630 | - |
1631 | - /* Per gtk_menu_popup's documentation "for conflict-resolve initiation of |
1632 | - * concurrent requests for mouse/keyboard grab requests." */ |
1633 | - if(activate_time == 0) |
1634 | - activate_time = gtk_get_current_event_time(); |
1635 | - |
1636 | - gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, button, activate_time); |
1637 | -} |
1638 | - |
1639 | -void |
1640 | -xfce_desktop_popup_root_menu(XfceDesktop *desktop, |
1641 | - guint button, |
1642 | - guint activate_time) |
1643 | -{ |
1644 | - TRACE("entering"); |
1645 | - |
1646 | - /* If it's launched by xfdesktop --menu we won't have an event time. |
1647 | - * Grab the keyboard focus */ |
1648 | - if(activate_time == 0) |
1649 | - activate_time = xfdesktop_popup_keyboard_grab_available(gtk_widget_get_window(GTK_WIDGET(desktop))); |
1650 | - |
1651 | - xfce_desktop_do_menu_popup(desktop, button, activate_time, |
1652 | - signals[SIG_POPULATE_ROOT_MENU]); |
1653 | - |
1654 | -} |
1655 | - |
1656 | -void |
1657 | -xfce_desktop_popup_secondary_root_menu(XfceDesktop *desktop, |
1658 | - guint button, |
1659 | - guint activate_time) |
1660 | -{ |
1661 | - /* If it's launched by xfdesktop --windowlist we won't have an event time. |
1662 | - * Grab the keyboard focus */ |
1663 | - if(activate_time == 0) |
1664 | - activate_time = xfdesktop_popup_keyboard_grab_available(gtk_widget_get_window(GTK_WIDGET(desktop))); |
1665 | - |
1666 | - xfce_desktop_do_menu_popup(desktop, button, activate_time, |
1667 | - signals[SIG_POPULATE_SECONDARY_ROOT_MENU]); |
1668 | -} |
1669 | -void |
1670 | -xfce_desktop_refresh(XfceDesktop *desktop) |
1671 | -{ |
1672 | - gint i, current_workspace; |
1673 | - |
1674 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1675 | - |
1676 | - if(!gtk_widget_get_realized(GTK_WIDGET(desktop))) |
1677 | - return; |
1678 | - |
1679 | - current_workspace = xfce_desktop_get_current_workspace(desktop); |
1680 | - |
1681 | - /* reload backgrounds */ |
1682 | - for(i = 0; i < xfce_desktop_get_n_monitors(desktop); i++) { |
1683 | - XfceBackdrop *backdrop; |
1684 | - |
1685 | - backdrop = xfce_workspace_get_backdrop(desktop->priv->workspaces[current_workspace], i); |
1686 | - |
1687 | - backdrop_changed_cb(backdrop, desktop); |
1688 | - } |
1689 | - |
1690 | -#ifdef ENABLE_DESKTOP_ICONS |
1691 | - /* reload icon view */ |
1692 | - if(desktop->priv->icon_view) { |
1693 | - gtk_widget_destroy(desktop->priv->icon_view); |
1694 | - desktop->priv->icon_view = NULL; |
1695 | - } |
1696 | - xfce_desktop_setup_icon_view(desktop); |
1697 | -#endif |
1698 | -} |
1699 | - |
1700 | -void xfce_desktop_arrange_icons(XfceDesktop *desktop) |
1701 | -{ |
1702 | - g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1703 | - |
1704 | -#ifdef ENABLE_DESKTOP_ICONS |
1705 | - g_return_if_fail(XFDESKTOP_IS_ICON_VIEW(desktop->priv->icon_view)); |
1706 | - |
1707 | - xfdesktop_icon_view_sort_icons(XFDESKTOP_ICON_VIEW(desktop->priv->icon_view)); |
1708 | -#endif |
1709 | -} |
1710 | |
1711 | === modified file '.pc/xubuntu_improve-nautilus-interactions.patch/src/xfce-desktop.c' |
1712 | --- .pc/xubuntu_improve-nautilus-interactions.patch/src/xfce-desktop.c 2014-03-01 16:02:38 +0000 |
1713 | +++ .pc/xubuntu_improve-nautilus-interactions.patch/src/xfce-desktop.c 2014-03-19 05:52:10 +0000 |
1714 | @@ -115,7 +115,6 @@ |
1715 | gboolean icons_font_size_set; |
1716 | guint icons_font_size; |
1717 | guint icons_size; |
1718 | - gint style_refresh_timer; |
1719 | GtkWidget *icon_view; |
1720 | gdouble system_font_size; |
1721 | #endif |
1722 | @@ -448,7 +447,10 @@ |
1723 | TRACE("entering"); |
1724 | |
1725 | g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1726 | - |
1727 | + |
1728 | + if(!XFCE_IS_BACKDROP(backdrop)) |
1729 | + return; |
1730 | + |
1731 | if(desktop->priv->updates_frozen || !gtk_widget_get_realized(GTK_WIDGET(desktop))) |
1732 | return; |
1733 | |
1734 | @@ -689,7 +691,7 @@ |
1735 | { |
1736 | XfceDesktop *desktop = XFCE_DESKTOP(user_data); |
1737 | gint current_workspace, new_workspace, i; |
1738 | - XfceBackdrop *new_backdrop; |
1739 | + XfceBackdrop *current_backdrop, *new_backdrop; |
1740 | |
1741 | TRACE("entering"); |
1742 | |
1743 | @@ -710,11 +712,16 @@ |
1744 | current_workspace, new_workspace); |
1745 | |
1746 | for(i = 0; i < xfce_desktop_get_n_monitors(desktop); i++) { |
1747 | - /* Sanity check */ |
1748 | + /* We want to compare the current workspace backdrop with the new one |
1749 | + * and see if we can avoid changing them if they are the same image/style */ |
1750 | if(current_workspace < desktop->priv->nworkspaces && current_workspace >= 0) { |
1751 | - /* update! */ |
1752 | + current_backdrop = xfce_workspace_get_backdrop(desktop->priv->workspaces[current_workspace], i); |
1753 | new_backdrop = xfce_workspace_get_backdrop(desktop->priv->workspaces[new_workspace], i); |
1754 | - backdrop_changed_cb(new_backdrop, user_data); |
1755 | + |
1756 | + if(!xfce_backdrop_compare_backdrops(current_backdrop, new_backdrop) || !desktop->priv->bg_pixmap) { |
1757 | + /* only update monitors that require it */ |
1758 | + backdrop_changed_cb(new_backdrop, user_data); |
1759 | + } |
1760 | } else { |
1761 | /* If current_workspace was removed or never existed, get the new |
1762 | * backdrop and apply it */ |
1763 | @@ -976,9 +983,6 @@ |
1764 | g_object_unref(G_OBJECT(desktop->priv->channel)); |
1765 | g_free(desktop->priv->property_prefix); |
1766 | |
1767 | - if(desktop->priv->style_refresh_timer != 0) |
1768 | - g_source_remove(desktop->priv->style_refresh_timer); |
1769 | - |
1770 | G_OBJECT_CLASS(xfce_desktop_parent_class)->finalize(object); |
1771 | } |
1772 | |
1773 | @@ -1085,14 +1089,11 @@ |
1774 | gtk_window_set_screen(GTK_WINDOW(desktop), desktop->priv->gscreen); |
1775 | sw = gdk_screen_get_width(desktop->priv->gscreen); |
1776 | sh = gdk_screen_get_height(desktop->priv->gscreen); |
1777 | - if(gtk_major_version > 2 |
1778 | - || (gtk_major_version == 2 && gtk_minor_version >= 13)) |
1779 | - { |
1780 | - g_signal_connect(G_OBJECT(desktop->priv->gscreen), |
1781 | - "monitors-changed", |
1782 | - G_CALLBACK(xfce_desktop_monitors_changed), |
1783 | - desktop); |
1784 | - } |
1785 | + |
1786 | + g_signal_connect(G_OBJECT(desktop->priv->gscreen), |
1787 | + "monitors-changed", |
1788 | + G_CALLBACK(xfce_desktop_monitors_changed), |
1789 | + desktop); |
1790 | |
1791 | /* chain up */ |
1792 | GTK_WIDGET_CLASS(xfce_desktop_parent_class)->realize(widget); |
1793 | @@ -1299,7 +1300,8 @@ |
1794 | } |
1795 | |
1796 | xfce_desktop_popup_root_menu(XFCE_DESKTOP(w), button, etime); |
1797 | - |
1798 | + |
1799 | + gdk_event_free((GdkEvent*)evt); |
1800 | return TRUE; |
1801 | } |
1802 | |
1803 | @@ -1338,26 +1340,45 @@ |
1804 | return TRUE; |
1805 | } |
1806 | |
1807 | -static gboolean |
1808 | -style_refresh_cb(gpointer *w) |
1809 | -{ |
1810 | - XfceDesktop *desktop = XFCE_DESKTOP(w); |
1811 | - |
1812 | - xfce_desktop_refresh(desktop); |
1813 | - desktop->priv->style_refresh_timer = 0; |
1814 | - |
1815 | - return FALSE; |
1816 | -} |
1817 | - |
1818 | static void |
1819 | xfce_desktop_style_set(GtkWidget *w, GtkStyle *old_style) |
1820 | { |
1821 | XfceDesktop *desktop = XFCE_DESKTOP(w); |
1822 | - |
1823 | - if(desktop->priv->style_refresh_timer != 0) |
1824 | - g_source_remove(desktop->priv->style_refresh_timer); |
1825 | - |
1826 | - desktop->priv->style_refresh_timer = g_timeout_add_seconds(1, (GSourceFunc)style_refresh_cb, w); |
1827 | +#ifdef ENABLE_DESKTOP_ICONS |
1828 | + gdouble old_font_size; |
1829 | +#endif |
1830 | + |
1831 | + TRACE("entering"); |
1832 | + |
1833 | + g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1834 | + |
1835 | + if(!gtk_widget_get_realized(GTK_WIDGET(desktop))) |
1836 | + return; |
1837 | + |
1838 | + if(desktop->priv->workspaces == NULL) |
1839 | + return; |
1840 | + |
1841 | + if(GDK_IS_WINDOW(desktop->priv->bg_pixmap)) |
1842 | + gdk_window_set_back_pixmap(gtk_widget_get_window(GTK_WIDGET(desktop)), desktop->priv->bg_pixmap, FALSE); |
1843 | + |
1844 | + gtk_widget_queue_draw(GTK_WIDGET(desktop)); |
1845 | + |
1846 | +#ifdef ENABLE_DESKTOP_ICONS |
1847 | + if(!desktop->priv->icon_view || !XFDESKTOP_IS_ICON_VIEW(desktop->priv->icon_view)) |
1848 | + return; |
1849 | + |
1850 | + /* reset the icon view style */ |
1851 | + gtk_widget_set_style(desktop->priv->icon_view, NULL); |
1852 | + gtk_widget_reset_rc_styles(desktop->priv->icon_view); |
1853 | + |
1854 | + old_font_size = desktop->priv->system_font_size; |
1855 | + if(xfce_desktop_ensure_system_font_size(desktop) != old_font_size |
1856 | + && desktop->priv->icon_view && !desktop->priv->icons_font_size_set) |
1857 | + { |
1858 | + xfdesktop_icon_view_set_font_size(XFDESKTOP_ICON_VIEW(desktop->priv->icon_view), |
1859 | + desktop->priv->system_font_size); |
1860 | + } |
1861 | +#endif |
1862 | } |
1863 | |
1864 | static void |
1865 | @@ -1742,6 +1763,8 @@ |
1866 | { |
1867 | gint i, current_workspace; |
1868 | |
1869 | + TRACE("entering"); |
1870 | + |
1871 | g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1872 | |
1873 | if(!gtk_widget_get_realized(GTK_WIDGET(desktop))) |
1874 | @@ -1770,6 +1793,7 @@ |
1875 | } |
1876 | xfce_desktop_setup_icon_view(desktop); |
1877 | #endif |
1878 | + |
1879 | } |
1880 | |
1881 | void xfce_desktop_arrange_icons(XfceDesktop *desktop) |
1882 | |
1883 | === modified file '.pc/xubuntu_set-accountsservice-user-bg.patch/src/xfce-desktop.c' |
1884 | --- .pc/xubuntu_set-accountsservice-user-bg.patch/src/xfce-desktop.c 2014-03-01 16:02:38 +0000 |
1885 | +++ .pc/xubuntu_set-accountsservice-user-bg.patch/src/xfce-desktop.c 2014-03-19 05:52:10 +0000 |
1886 | @@ -114,7 +114,6 @@ |
1887 | gboolean icons_font_size_set; |
1888 | guint icons_font_size; |
1889 | guint icons_size; |
1890 | - gint style_refresh_timer; |
1891 | GtkWidget *icon_view; |
1892 | gdouble system_font_size; |
1893 | #endif |
1894 | @@ -367,7 +366,10 @@ |
1895 | TRACE("entering"); |
1896 | |
1897 | g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
1898 | - |
1899 | + |
1900 | + if(!XFCE_IS_BACKDROP(backdrop)) |
1901 | + return; |
1902 | + |
1903 | if(desktop->priv->updates_frozen || !gtk_widget_get_realized(GTK_WIDGET(desktop))) |
1904 | return; |
1905 | |
1906 | @@ -604,7 +606,7 @@ |
1907 | { |
1908 | XfceDesktop *desktop = XFCE_DESKTOP(user_data); |
1909 | gint current_workspace, new_workspace, i; |
1910 | - XfceBackdrop *new_backdrop; |
1911 | + XfceBackdrop *current_backdrop, *new_backdrop; |
1912 | |
1913 | TRACE("entering"); |
1914 | |
1915 | @@ -625,11 +627,16 @@ |
1916 | current_workspace, new_workspace); |
1917 | |
1918 | for(i = 0; i < xfce_desktop_get_n_monitors(desktop); i++) { |
1919 | - /* Sanity check */ |
1920 | + /* We want to compare the current workspace backdrop with the new one |
1921 | + * and see if we can avoid changing them if they are the same image/style */ |
1922 | if(current_workspace < desktop->priv->nworkspaces && current_workspace >= 0) { |
1923 | - /* update! */ |
1924 | + current_backdrop = xfce_workspace_get_backdrop(desktop->priv->workspaces[current_workspace], i); |
1925 | new_backdrop = xfce_workspace_get_backdrop(desktop->priv->workspaces[new_workspace], i); |
1926 | - backdrop_changed_cb(new_backdrop, user_data); |
1927 | + |
1928 | + if(!xfce_backdrop_compare_backdrops(current_backdrop, new_backdrop) || !desktop->priv->bg_pixmap) { |
1929 | + /* only update monitors that require it */ |
1930 | + backdrop_changed_cb(new_backdrop, user_data); |
1931 | + } |
1932 | } else { |
1933 | /* If current_workspace was removed or never existed, get the new |
1934 | * backdrop and apply it */ |
1935 | @@ -891,9 +898,6 @@ |
1936 | g_object_unref(G_OBJECT(desktop->priv->channel)); |
1937 | g_free(desktop->priv->property_prefix); |
1938 | |
1939 | - if(desktop->priv->style_refresh_timer != 0) |
1940 | - g_source_remove(desktop->priv->style_refresh_timer); |
1941 | - |
1942 | G_OBJECT_CLASS(xfce_desktop_parent_class)->finalize(object); |
1943 | } |
1944 | |
1945 | @@ -1000,14 +1004,11 @@ |
1946 | gtk_window_set_screen(GTK_WINDOW(desktop), desktop->priv->gscreen); |
1947 | sw = gdk_screen_get_width(desktop->priv->gscreen); |
1948 | sh = gdk_screen_get_height(desktop->priv->gscreen); |
1949 | - if(gtk_major_version > 2 |
1950 | - || (gtk_major_version == 2 && gtk_minor_version >= 13)) |
1951 | - { |
1952 | - g_signal_connect(G_OBJECT(desktop->priv->gscreen), |
1953 | - "monitors-changed", |
1954 | - G_CALLBACK(xfce_desktop_monitors_changed), |
1955 | - desktop); |
1956 | - } |
1957 | + |
1958 | + g_signal_connect(G_OBJECT(desktop->priv->gscreen), |
1959 | + "monitors-changed", |
1960 | + G_CALLBACK(xfce_desktop_monitors_changed), |
1961 | + desktop); |
1962 | |
1963 | /* chain up */ |
1964 | GTK_WIDGET_CLASS(xfce_desktop_parent_class)->realize(widget); |
1965 | @@ -1214,7 +1215,8 @@ |
1966 | } |
1967 | |
1968 | xfce_desktop_popup_root_menu(XFCE_DESKTOP(w), button, etime); |
1969 | - |
1970 | + |
1971 | + gdk_event_free((GdkEvent*)evt); |
1972 | return TRUE; |
1973 | } |
1974 | |
1975 | @@ -1253,26 +1255,45 @@ |
1976 | return TRUE; |
1977 | } |
1978 | |
1979 | -static gboolean |
1980 | -style_refresh_cb(gpointer *w) |
1981 | -{ |
1982 | - XfceDesktop *desktop = XFCE_DESKTOP(w); |
1983 | - |
1984 | - xfce_desktop_refresh(desktop); |
1985 | - desktop->priv->style_refresh_timer = 0; |
1986 | - |
1987 | - return FALSE; |
1988 | -} |
1989 | - |
1990 | static void |
1991 | xfce_desktop_style_set(GtkWidget *w, GtkStyle *old_style) |
1992 | { |
1993 | XfceDesktop *desktop = XFCE_DESKTOP(w); |
1994 | - |
1995 | - if(desktop->priv->style_refresh_timer != 0) |
1996 | - g_source_remove(desktop->priv->style_refresh_timer); |
1997 | - |
1998 | - desktop->priv->style_refresh_timer = g_timeout_add_seconds(1, (GSourceFunc)style_refresh_cb, w); |
1999 | +#ifdef ENABLE_DESKTOP_ICONS |
2000 | + gdouble old_font_size; |
2001 | +#endif |
2002 | + |
2003 | + TRACE("entering"); |
2004 | + |
2005 | + g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
2006 | + |
2007 | + if(!gtk_widget_get_realized(GTK_WIDGET(desktop))) |
2008 | + return; |
2009 | + |
2010 | + if(desktop->priv->workspaces == NULL) |
2011 | + return; |
2012 | + |
2013 | + if(GDK_IS_WINDOW(desktop->priv->bg_pixmap)) |
2014 | + gdk_window_set_back_pixmap(gtk_widget_get_window(GTK_WIDGET(desktop)), desktop->priv->bg_pixmap, FALSE); |
2015 | + |
2016 | + gtk_widget_queue_draw(GTK_WIDGET(desktop)); |
2017 | + |
2018 | +#ifdef ENABLE_DESKTOP_ICONS |
2019 | + if(!desktop->priv->icon_view || !XFDESKTOP_IS_ICON_VIEW(desktop->priv->icon_view)) |
2020 | + return; |
2021 | + |
2022 | + /* reset the icon view style */ |
2023 | + gtk_widget_set_style(desktop->priv->icon_view, NULL); |
2024 | + gtk_widget_reset_rc_styles(desktop->priv->icon_view); |
2025 | + |
2026 | + old_font_size = desktop->priv->system_font_size; |
2027 | + if(xfce_desktop_ensure_system_font_size(desktop) != old_font_size |
2028 | + && desktop->priv->icon_view && !desktop->priv->icons_font_size_set) |
2029 | + { |
2030 | + xfdesktop_icon_view_set_font_size(XFDESKTOP_ICON_VIEW(desktop->priv->icon_view), |
2031 | + desktop->priv->system_font_size); |
2032 | + } |
2033 | +#endif |
2034 | } |
2035 | |
2036 | static void |
2037 | @@ -1657,6 +1678,8 @@ |
2038 | { |
2039 | gint i, current_workspace; |
2040 | |
2041 | + TRACE("entering"); |
2042 | + |
2043 | g_return_if_fail(XFCE_IS_DESKTOP(desktop)); |
2044 | |
2045 | if(!gtk_widget_get_realized(GTK_WIDGET(desktop))) |
2046 | @@ -1685,6 +1708,7 @@ |
2047 | } |
2048 | xfce_desktop_setup_icon_view(desktop); |
2049 | #endif |
2050 | + |
2051 | } |
2052 | |
2053 | void xfce_desktop_arrange_icons(XfceDesktop *desktop) |
2054 | |
2055 | === modified file 'ChangeLog' |
2056 | --- ChangeLog 2014-02-20 15:59:49 +0000 |
2057 | +++ ChangeLog 2014-03-19 05:52:10 +0000 |
2058 | @@ -1,3 +1,478 @@ |
2059 | +commit 46bf9f74cb3099c5f233f9e773e8a8bf937837ef |
2060 | +Author: pkon <p_kongstad@op.pl> |
2061 | +Date: Tue Mar 18 00:32:01 2014 +0100 |
2062 | + |
2063 | + I18n: Update translation da (97%). |
2064 | + |
2065 | + 210 translated messages, 6 untranslated messages. |
2066 | + |
2067 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2068 | + |
2069 | +commit 2f210966342c560a07cbe1ae74c1c49bcb0ba982 |
2070 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2071 | +Date: Mon Mar 17 15:39:52 2014 +0300 |
2072 | + |
2073 | + Fix icon theme colors |
2074 | + |
2075 | + When the icon theme colors change, either thorugh gtkrc files or |
2076 | + Xfsettingd, xfdesktop will now properly reflect those changes. |
2077 | + |
2078 | +commit d0703cd604f3070325f9225477b5e08dc42b7569 |
2079 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2080 | +Date: Sat Mar 15 23:10:44 2014 +0300 |
2081 | + |
2082 | + Fix a small memory leak |
2083 | + |
2084 | +commit d84f8bf2155728ff267bbf746f517ae971c0b37c |
2085 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2086 | +Date: Fri Mar 14 20:26:44 2014 +0300 |
2087 | + |
2088 | + Fix build errors |
2089 | + |
2090 | + When some flags were passed xfdesktop failed to build because |
2091 | + libexo wasn't being properly added. |
2092 | + |
2093 | +commit f0e5154a5ff15f4d12d08cbc7f044641fa5b768e |
2094 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2095 | +Date: Fri Mar 14 19:27:27 2014 +0300 |
2096 | + |
2097 | + Always depend on dbus-glib (Bug 10745) |
2098 | + |
2099 | + Thanks to Samuli Suominen for reporting the issue and proposing |
2100 | + the fix. |
2101 | + |
2102 | +commit 2dd0f8d716ea29b48d5bec0f6e78b0b51e315820 |
2103 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2104 | +Date: Fri Mar 14 19:13:39 2014 +0300 |
2105 | + |
2106 | + Release the file monitor |
2107 | + |
2108 | +commit f04b79a8724a39880ffcdf205946318294e228ae |
2109 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2110 | +Date: Fri Mar 14 19:12:05 2014 +0300 |
2111 | + |
2112 | + Point to the same initial help page |
2113 | + |
2114 | +commit 4eb6cee987dd7279b72ea200909d9e9e658a5c49 |
2115 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2116 | +Date: Wed Mar 12 19:56:21 2014 +0300 |
2117 | + |
2118 | + Improve cover art loading |
2119 | + |
2120 | + Moved the code to the regular file icon section. It now monitors |
2121 | + folders for the album art image and loads it if it is added. |
2122 | + |
2123 | +commit 81e3969103a4b2fc705322bd9afee4e415934f80 |
2124 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2125 | +Date: Wed Mar 12 08:40:16 2014 +0300 |
2126 | + |
2127 | + Improve style changes for the desktop |
2128 | + |
2129 | + This patch changes how style-set events are handled. Instead of |
2130 | + re-creating the icon view to deal with XSettings manager changes, |
2131 | + we now reset all the styles on the icon view and let it re-set them |
2132 | + to what it needs to. This stops the icon view from destroying and |
2133 | + recreating all the icons which should make startup a little faster. |
2134 | + |
2135 | +commit 5d3842ff008e595b51304b0deab6ab4ab98ebcc8 |
2136 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2137 | +Date: Mon Mar 10 10:39:14 2014 +0300 |
2138 | + |
2139 | + Keep the .desktop.in file |
2140 | + |
2141 | + The .desktop.in file is generated by the .desktop.in.in file, |
2142 | + however translations are applied against the desktop.in so we'll |
2143 | + keep it in tree so that translations continue to work. The only |
2144 | + thing that will change in the desktop.in file is the version string |
2145 | + during stable/development changes (i.e. from 4.11 to 4.12). |
2146 | + |
2147 | +commit d7aa645cf7a28a7add0d6b5b77bd18daf40fbdce |
2148 | +Author: Nucleo <nucleo@indamail.hu> |
2149 | +Date: Mon Mar 10 00:32:10 2014 +0100 |
2150 | + |
2151 | + I18n: Update translation hu (100%). |
2152 | + |
2153 | + 216 translated messages. |
2154 | + |
2155 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2156 | + |
2157 | +commit dfd5d961f5e310ff6175a943ed7ca2aa9df9570c |
2158 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2159 | +Date: Sun Mar 9 20:46:15 2014 +0300 |
2160 | + |
2161 | + Use the macro in the .in.in desktop file |
2162 | + |
2163 | +commit cab928565105e1081165ba5bd398f0df88e33acd |
2164 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2165 | +Date: Sun Mar 9 20:36:53 2014 +0300 |
2166 | + |
2167 | + update potfiles for file rename |
2168 | + |
2169 | +commit d27d14f242cbd94fcfbdf881d62c6e2b60f806a7 |
2170 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2171 | +Date: Sun Mar 9 16:51:52 2014 +0300 |
2172 | + |
2173 | + Add versioned help when a GtkPlug |
2174 | + |
2175 | + This patch calls the versioned online help docs when xfdesktop-settings |
2176 | + is embedded as a GtkPlug. |
2177 | + |
2178 | +commit 0eee3e53a7280235ea69da2308f550d2115d8cd2 |
2179 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2180 | +Date: Sun Mar 9 08:46:32 2014 +0300 |
2181 | + |
2182 | + Fix a typo |
2183 | + |
2184 | +commit 2c357ee2b17d5438188be996cf482e45c051e7c5 |
2185 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2186 | +Date: Fri Mar 7 21:09:11 2014 +0300 |
2187 | + |
2188 | + Change icons in settings app |
2189 | + |
2190 | + Symbolic icons have issues with some gtk2 themes where they don't |
2191 | + get colored properly. Additionally some themes don't have network-fs |
2192 | + or gnome-dev-network so change to gtk-network. |
2193 | + |
2194 | +commit 15df1cba1d2e1ff562cd0c08288f466cba42e736 |
2195 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2196 | +Date: Mon Mar 3 19:51:30 2014 +0300 |
2197 | + |
2198 | + Make xfdesktop-settings pluggable again (Bug 10714) |
2199 | + |
2200 | + This changes the X-XfcePluggable back to true and forces wnck to |
2201 | + initialize instead of waiting for it in the main loop, but only |
2202 | + when the dialog is embedded. This allows xfdesktop-settings to |
2203 | + be embeeded in the settings dialog again. |
2204 | + |
2205 | +commit 67a8cfb24fc4131e6cd74a52901e5389cc9b6757 |
2206 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2207 | +Date: Tue Mar 4 21:13:01 2014 +0300 |
2208 | + |
2209 | + Point to versioned help docs |
2210 | + |
2211 | + xfdesktop-settings now points to the versioned docs hosted at |
2212 | + docs.xfce.org. This version string will always point to the |
2213 | + major.minor of xfdesktop so it will auto-increment in future relases. |
2214 | + |
2215 | +commit 3a497b0c7c496d33b464a5882ce6a09fa4a1d289 |
2216 | +Author: hoek <hoek@hoek.pl> |
2217 | +Date: Mon Mar 3 12:32:14 2014 +0100 |
2218 | + |
2219 | + I18n: Update translation pl (100%). |
2220 | + |
2221 | + 216 translated messages. |
2222 | + |
2223 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2224 | + |
2225 | +commit d3c13d6aab145d916d6288f013fa30b8703dacb8 |
2226 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2227 | +Date: Sun Mar 2 16:30:46 2014 +0300 |
2228 | + |
2229 | + Update the wallpapers after user sets folder |
2230 | + |
2231 | + If the user changes to a different folder with the gtk file chooser |
2232 | + button, it can no longer be set with gtk_file_chooser_set_current_folder. |
2233 | + Now, while the button won't get updated due to this bug in GTK, at |
2234 | + least the wallpapers will be current. |
2235 | + |
2236 | +commit dfb8f2141ca627e25d226ff259e7fe78cbd27434 |
2237 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2238 | +Date: Sun Mar 2 12:46:40 2014 +0300 |
2239 | + |
2240 | + Minimize grid resizes |
2241 | + |
2242 | + Don't resize the grid on _NET_WORKAREA changes when the grid size |
2243 | + doesn't actually change. |
2244 | + |
2245 | +commit ad533417c2e491c36cfa0705aeb4cf020adad918 |
2246 | +Author: asvl <alyoshin.s@gmail.com> |
2247 | +Date: Sun Mar 2 12:32:10 2014 +0100 |
2248 | + |
2249 | + I18n: Update translation ru (100%). |
2250 | + |
2251 | + 216 translated messages. |
2252 | + |
2253 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2254 | + |
2255 | +commit 12b9528fd10769fff10346a503922fa280d0c293 |
2256 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2257 | +Date: Sun Mar 2 10:20:56 2014 +0300 |
2258 | + |
2259 | + Right click edits launchers |
2260 | + |
2261 | + When performing a right click, or shift + left click, on an item |
2262 | + in the applications sub-menu of the desktop menu it will now pop |
2263 | + up the dialog to edit the launcher. |
2264 | + |
2265 | +commit c0c498678def0f32f24bb0a1653408c78f9495da |
2266 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2267 | +Date: Sun Mar 2 09:13:13 2014 +0300 |
2268 | + |
2269 | + Remove old version check |
2270 | + |
2271 | +commit e92af0cdace692250c289ea608568fc2b24d684d |
2272 | +Author: k3lt01 <keltoiboy@gmail.com> |
2273 | +Date: Sat Mar 1 12:31:57 2014 +0100 |
2274 | + |
2275 | + I18n: Update translation en_AU (100%). |
2276 | + |
2277 | + 216 translated messages. |
2278 | + |
2279 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2280 | + |
2281 | +commit 9d88b44f661c018f24f57024f2ac8ce4b31ddd02 |
2282 | +Author: schizo <eveskovic@gmail.com> |
2283 | +Date: Sat Mar 1 00:32:43 2014 +0100 |
2284 | + |
2285 | + I18n: Update translation hr (100%). |
2286 | + |
2287 | + 216 translated messages. |
2288 | + |
2289 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2290 | + |
2291 | +commit 0faa35f692b7dd073ee761188452f159905cea70 |
2292 | +Author: theppitak <theppitak@gmail.com> |
2293 | +Date: Fri Feb 28 18:32:17 2014 +0100 |
2294 | + |
2295 | + I18n: Update translation th (100%). |
2296 | + |
2297 | + 216 translated messages. |
2298 | + |
2299 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2300 | + |
2301 | +commit c6380c59b5256de221ff06120421d87f18149d6c |
2302 | +Author: abuyop <abuyop@gmail.com> |
2303 | +Date: Fri Feb 28 18:32:17 2014 +0100 |
2304 | + |
2305 | + I18n: Update translation ms (100%). |
2306 | + |
2307 | + 216 translated messages. |
2308 | + |
2309 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2310 | + |
2311 | +commit 830ee398e020a34656525a9e0d9319279a37e066 |
2312 | +Author: filorin <guillaume.ber17@laposte.net> |
2313 | +Date: Fri Feb 28 18:32:16 2014 +0100 |
2314 | + |
2315 | + I18n: Update translation fr (100%). |
2316 | + |
2317 | + 216 translated messages. |
2318 | + |
2319 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2320 | + |
2321 | +commit fd8e70b4136b2a5d7590d3395b58cd9d1baa65ef |
2322 | +Author: Pablo Lezaeta <prflr88@gmail.com> |
2323 | +Date: Thu Feb 27 00:32:04 2014 +0100 |
2324 | + |
2325 | + I18n: Update translation es (100%). |
2326 | + |
2327 | + 216 translated messages. |
2328 | + |
2329 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2330 | + |
2331 | +commit 8cdbb6f2ff2c237fc44788b24aa1018e612d93f8 |
2332 | +Author: Cheng-Chia Tseng <pswo10680@gmail.com> |
2333 | +Date: Wed Feb 26 18:32:56 2014 +0100 |
2334 | + |
2335 | + I18n: Update translation zh_TW (100%). |
2336 | + |
2337 | + 216 translated messages. |
2338 | + |
2339 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2340 | + |
2341 | +commit 5da4695c33288aeeed2b8934d3b535d8ca657bda |
2342 | +Author: salepetronije <salepetronije@gmail.com> |
2343 | +Date: Wed Feb 26 12:32:24 2014 +0100 |
2344 | + |
2345 | + I18n: Update translation sr (100%). |
2346 | + |
2347 | + 216 translated messages. |
2348 | + |
2349 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2350 | + |
2351 | +commit 19df3baad37c51d2ebc8cef0d3b0dfa8ab098033 |
2352 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2353 | +Date: Wed Feb 26 13:46:57 2014 +0300 |
2354 | + |
2355 | + Fix a runtime warning |
2356 | + |
2357 | + If one of the checks in the style refresh happened then the |
2358 | + refresh timer was destroyed with a return FALSE, but our source |
2359 | + id for that timer wasn't cleared. This fixes it. |
2360 | + |
2361 | +commit 22fd6840660e5154a7051647051deefea90bfe27 |
2362 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2363 | +Date: Wed Feb 26 12:43:02 2014 +0300 |
2364 | + |
2365 | + Fix a crash when removing displays |
2366 | + |
2367 | + When a screen is extended to the right and then changed to mirrored |
2368 | + this can cause xfdesktop to crash. This patch does a sanity check |
2369 | + to ensure there is a backdrop when the backdrop_changed_cb is |
2370 | + called. |
2371 | + |
2372 | +commit 36387ed6c75662a42d822d32029e425ae73a556d |
2373 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2374 | +Date: Wed Feb 26 10:02:35 2014 +0300 |
2375 | + |
2376 | + Reload the iconview on reload |
2377 | + |
2378 | + Cut the icon view code rather than a copy. Putting it back in. |
2379 | + |
2380 | +commit 26feb3b13e8c3c5ea9f41a51768dec230f139f15 |
2381 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2382 | +Date: Tue Feb 25 12:08:46 2014 +0300 |
2383 | + |
2384 | + Better migration from previous version |
2385 | + |
2386 | + This code makes xfdesktop set whatever settings it finds to xfconf. |
2387 | + This way it isn't always trying to migrate if the user never defines |
2388 | + anything. There was also a couple bugs in the migration code that |
2389 | + have been fixed. Additionally, when gtk sends a style set we only |
2390 | + recreate the icon view (to update the labels) rather than refrsh |
2391 | + the wallpaper as well. This should make xfdesktop startup a little |
2392 | + faster. The style set workaround will go away in GTK3 when we get |
2393 | + there. |
2394 | + |
2395 | +commit 68be2f077b28db13eb5c4c095fbdc9b9027e5143 |
2396 | +Author: hjudt <h.judt@gmx.at> |
2397 | +Date: Tue Feb 25 18:33:13 2014 +0100 |
2398 | + |
2399 | + I18n: Update translation de (100%). |
2400 | + |
2401 | + 216 translated messages. |
2402 | + |
2403 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2404 | + |
2405 | +commit 17893452c4232e2ad944758f7d319167231ec8bf |
2406 | +Author: Masato HASHIMOTO <cabezon.hashimoto@gmail.com> |
2407 | +Date: Tue Feb 25 12:32:39 2014 +0100 |
2408 | + |
2409 | + I18n: Update translation ja (100%). |
2410 | + |
2411 | + 216 translated messages. |
2412 | + |
2413 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2414 | + |
2415 | +commit d4ae634403de31bd7a43d041d1550a1c299d3465 |
2416 | +Author: cri <cri.penta@gmail.com> |
2417 | +Date: Tue Feb 25 12:32:39 2014 +0100 |
2418 | + |
2419 | + I18n: Update translation it (100%). |
2420 | + |
2421 | + 216 translated messages. |
2422 | + |
2423 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2424 | + |
2425 | +commit e911be014c1274b1c457d661290a1a3662a81026 |
2426 | +Author: cybercop <cybercop_montana@abv.bg> |
2427 | +Date: Tue Feb 25 12:32:39 2014 +0100 |
2428 | + |
2429 | + I18n: Update translation bg (100%). |
2430 | + |
2431 | + 216 translated messages. |
2432 | + |
2433 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2434 | + |
2435 | +commit 8506c1e2dc678452b067c742d0b55569c4abd0ad |
2436 | +Author: Darkcircle <darkcircle.0426@gmail.com> |
2437 | +Date: Tue Feb 25 00:32:10 2014 +0100 |
2438 | + |
2439 | + I18n: Update translation ko (100%). |
2440 | + |
2441 | + 216 translated messages. |
2442 | + |
2443 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2444 | + |
2445 | +commit d1d98fb12fd461bd00b99e821cae155ccd926716 |
2446 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2447 | +Date: Mon Feb 24 10:16:20 2014 +0300 |
2448 | + |
2449 | + Clean up some user strings |
2450 | + |
2451 | + 1) Some tooltips end with a period, some do not. This has been |
2452 | + unified. |
2453 | + |
2454 | + 2) "You are using more than one display, move this dialog to the |
2455 | + display you want to edit the settings for." This takes a lot of |
2456 | + space and brings along a bit of redundancy. Changed to "Move this |
2457 | + dialog to the display you want to edit the settings for." |
2458 | + |
2459 | + 3) "Other items" on the third tab, below removable devices: "devices" |
2460 | + is a better term than "items". Changed. |
2461 | + |
2462 | + Thanks to Harald Judt for pointing these issues out. |
2463 | + |
2464 | +commit 755ae10f0b20bc4f105d9a35b2596bae956bc1ff |
2465 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2466 | +Date: Mon Feb 24 09:59:58 2014 +0300 |
2467 | + |
2468 | + Show add/remove workspace option is on by default |
2469 | + |
2470 | +commit 05adaa59dbedd89b3e0ae6001ff367572c1be7d2 |
2471 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2472 | +Date: Sun Feb 23 14:49:49 2014 +0300 |
2473 | + |
2474 | + Fix an settings issue when plug names aren't available |
2475 | + |
2476 | + When gdk_screen_get_monitor_plug_name doesn't return a monitor |
2477 | + name we were comparing monitor numbers but that check meant the |
2478 | + first monitor never got its settings updated. |
2479 | + |
2480 | +commit b1a7c62d4e78dc1cee7e3d499440618c085c7d48 |
2481 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2482 | +Date: Sun Feb 23 13:37:20 2014 +0300 |
2483 | + |
2484 | + Fix a couple runtime warnings |
2485 | + |
2486 | +commit d309a6949b751002b33ed432f88fd47a1384db0e |
2487 | +Author: Harald Judt <h.judt@gmx.at> |
2488 | +Date: Sat Feb 22 14:58:41 2014 +0100 |
2489 | + |
2490 | + Remember the window size of the settings dialog. |
2491 | + |
2492 | + Signed-off-by: Eric Koegel <eric.koegel@gmail.com> |
2493 | + |
2494 | +commit 6583a1a632779e72ba6ecfa32a10f30980081876 |
2495 | +Author: Thaddäus Tintenfisch <thad.fisch@gmail.com> |
2496 | +Date: Sun Feb 23 09:02:58 2014 +0300 |
2497 | + |
2498 | + Fix segfault on session start |
2499 | + |
2500 | + Signed-off-by: Eric Koegel <eric.koegel@gmail.com> |
2501 | + |
2502 | +commit bdc893fd97c8820f25d9b878ce97f28e6a43bfd1 |
2503 | +Author: hjudt <h.judt@gmx.at> |
2504 | +Date: Sat Feb 22 12:32:13 2014 +0100 |
2505 | + |
2506 | + I18n: Update translation de (100%). |
2507 | + |
2508 | + 216 translated messages. |
2509 | + |
2510 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2511 | + |
2512 | +commit 7627c46b680e96c09c44f630bd0707d3184777b9 |
2513 | +Author: hjudt <h.judt@gmx.at> |
2514 | +Date: Sat Feb 22 00:32:15 2014 +0100 |
2515 | + |
2516 | + I18n: Update translation de (99%). |
2517 | + |
2518 | + 214 translated messages, 2 untranslated messages. |
2519 | + |
2520 | + Transifex (https://www.transifex.com/projects/p/xfce/). |
2521 | + |
2522 | +commit e613364882c606e337bb4036cd5a5b910967393a |
2523 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2524 | +Date: Wed Feb 19 21:00:12 2014 +0300 |
2525 | + |
2526 | + Post release tag bump. |
2527 | + |
2528 | +commit ffb99ffdcc7926cae8b8d1bbee286c5797d28083 |
2529 | +Author: Eric Koegel <eric.koegel@gmail.com> |
2530 | +Date: Wed Feb 19 20:54:05 2014 +0300 |
2531 | + |
2532 | + Updates for release. |
2533 | + |
2534 | commit 9b9bacb445ded5050ea073b9b1c784883a43456b |
2535 | Author: Eric Koegel <eric.koegel@gmail.com> |
2536 | Date: Mon Feb 17 15:26:42 2014 +0300 |
2537 | |
2538 | === modified file 'Makefile.in' |
2539 | --- Makefile.in 2014-02-20 15:59:49 +0000 |
2540 | +++ Makefile.in 2014-03-19 05:52:10 +0000 |
2541 | @@ -380,6 +380,7 @@ |
2542 | XFCONF_LIBS = @XFCONF_LIBS@ |
2543 | XFCONF_REQUIRED_VERSION = @XFCONF_REQUIRED_VERSION@ |
2544 | XFCONF_VERSION = @XFCONF_VERSION@ |
2545 | +XFDESKTOP_VERSION_SHORT = @XFDESKTOP_VERSION_SHORT@ |
2546 | XGETTEXT = @XGETTEXT@ |
2547 | XGETTEXT_ARGS = @XGETTEXT_ARGS@ |
2548 | XMKMF = @XMKMF@ |
2549 | |
2550 | === modified file 'NEWS' |
2551 | --- NEWS 2014-02-20 15:59:49 +0000 |
2552 | +++ NEWS 2014-03-19 05:52:10 +0000 |
2553 | @@ -1,3 +1,72 @@ |
2554 | +4.11.4 |
2555 | +====== |
2556 | +[Please note that this is a development release.] |
2557 | + |
2558 | +Fifth development release of xfdesktop targeting for Xfce 4.12. |
2559 | +Please report all problems at bugzilla.xfce.org. |
2560 | + |
2561 | +* Versioned help: |
2562 | + - Point to the docs.xfce.org page for xfdesktop 4.11. (Bug 10736) |
2563 | + |
2564 | +* Build errors with some compiler flags: |
2565 | + - dbus-glib is now required. Since xfconf requires it and |
2566 | + xfconf is already required for xfdesktop, this shouldn't |
2567 | + change dependancies much for xfdesktop. This bug was reported |
2568 | + and fixed by Samuli Suominen. (Bug 10745) |
2569 | + - Another build failure when disabling the menu and requiring |
2570 | + exo was also resolved. |
2571 | + |
2572 | +* Icon changes in the settings app: |
2573 | + - Symbolic icons have issues with some gtk2 themes where they |
2574 | + don't get colored properly. Additionally some themes don't |
2575 | + have network-fs or gnome-dev-network so it has been changed |
2576 | + gtk-network. |
2577 | + |
2578 | +* Right click edits launchers: |
2579 | + - When performing a right click, or shift + left click, on an item |
2580 | + in the applications sub-menu of the desktop menu it will now pop |
2581 | + up the dialog to edit the launcher. Same as xfce4-appfinder. |
2582 | + |
2583 | +* Better migration from previous versions: |
2584 | + - Xfdesktop now does a better job of migrating any user settings |
2585 | + from 4.10 and before to the new xfconf properties. |
2586 | + - Fix an settings issue when plug names aren't available |
2587 | + |
2588 | +* Clean up some user strings: |
2589 | + - Some tooltips end with a period, some do not. This has been |
2590 | + unified. |
2591 | + - "You are using more than one display, move this dialog to the |
2592 | + display you want to edit the settings for." This takes a lot of |
2593 | + space and brings along a bit of redundancy. Changed to "Move this |
2594 | + dialog to the display you want to edit the settings for." |
2595 | + - "Other items" on the third tab, below removable devices: "devices" |
2596 | + replaces "items". |
2597 | + Thanks to Harald Judt for pointing these issues out. |
2598 | + |
2599 | +* Remember the window size of the settings dialog |
2600 | + - Patch written by Harald Judt. |
2601 | + |
2602 | +* Fix segfault on session start |
2603 | + - Patch written by Thaddäus Tintenfisch |
2604 | + |
2605 | +* Miscellaneous bug fixes: |
2606 | + - Iconview theme/gtkrc color/style issues resolved. |
2607 | + - Issues with folder cover art not loading have been fixed. |
2608 | + - Make xfdesktop-settings pluggable again (Bug 10714) |
2609 | + - Update the wallpapers after user sets folder in the settings |
2610 | + app. |
2611 | + - Minimize grid resizes, it now won't recalculate icon positions |
2612 | + if the grid size didn't actually change. |
2613 | + - Memory leaks fixed. |
2614 | + - Warnings that happened during runtime have been fixed. |
2615 | + - Fix a crash when removing displays |
2616 | + - Show add/remove workspace option is on by default |
2617 | + |
2618 | +* Translation updates: Bulgarian (bg), Chinese (Taiwan) (zh_TW), |
2619 | + Croatian (hr), Danish (da), German (de), English (Australia) (en_AU), |
2620 | + French (fr), Italian (it), Japanese (ja), Korean (ko), Malay (ms), |
2621 | + Russian (ru), Serbian (sr), Spanish (Castilian) (es), Thai (th) |
2622 | + |
2623 | 4.11.3 |
2624 | ====== |
2625 | [Please note that this is a development release.] |
2626 | |
2627 | === modified file 'README' |
2628 | --- README 2014-02-20 15:59:49 +0000 |
2629 | +++ README 2014-03-19 05:52:10 +0000 |
2630 | @@ -19,13 +19,13 @@ |
2631 | * intltool 0.34 |
2632 | * GTK+ 2.30.0 |
2633 | * libxfce4util 4.10 |
2634 | -* libxfce4ui 4.10 |
2635 | +* libxfce4ui 4.11.1 |
2636 | * libwnck 2.30 |
2637 | * libexo 0.6 |
2638 | * xfconf 4.10 |
2639 | +* dbus-glib 0.84 |
2640 | * garcon 0.1.2 (optional; required for apps menu) |
2641 | * thunar 1.2 (optional; required for file icons) |
2642 | -* dbus-glib 0.34 (optional; required for file icons) |
2643 | * tumbler 1.6 (optional; enables thumbnail previews for file icons) |
2644 | |
2645 | |
2646 | |
2647 | === modified file 'backgrounds/Makefile.in' |
2648 | --- backgrounds/Makefile.in 2014-02-19 20:34:01 +0000 |
2649 | +++ backgrounds/Makefile.in 2014-03-19 05:52:10 +0000 |
2650 | @@ -300,6 +300,7 @@ |
2651 | XFCONF_LIBS = @XFCONF_LIBS@ |
2652 | XFCONF_REQUIRED_VERSION = @XFCONF_REQUIRED_VERSION@ |
2653 | XFCONF_VERSION = @XFCONF_VERSION@ |
2654 | +XFDESKTOP_VERSION_SHORT = @XFDESKTOP_VERSION_SHORT@ |
2655 | XGETTEXT = @XGETTEXT@ |
2656 | XGETTEXT_ARGS = @XGETTEXT_ARGS@ |
2657 | XMKMF = @XMKMF@ |
2658 | |
2659 | === modified file 'common/Makefile.in' |
2660 | --- common/Makefile.in 2014-02-20 15:59:49 +0000 |
2661 | +++ common/Makefile.in 2014-03-19 05:52:10 +0000 |
2662 | @@ -324,6 +324,7 @@ |
2663 | XFCONF_LIBS = @XFCONF_LIBS@ |
2664 | XFCONF_REQUIRED_VERSION = @XFCONF_REQUIRED_VERSION@ |
2665 | XFCONF_VERSION = @XFCONF_VERSION@ |
2666 | +XFDESKTOP_VERSION_SHORT = @XFDESKTOP_VERSION_SHORT@ |
2667 | XGETTEXT = @XGETTEXT@ |
2668 | XGETTEXT_ARGS = @XGETTEXT_ARGS@ |
2669 | XMKMF = @XMKMF@ |
2670 | |
2671 | === modified file 'common/xfdesktop-thumbnailer.c' |
2672 | --- common/xfdesktop-thumbnailer.c 2014-02-20 15:59:49 +0000 |
2673 | +++ common/xfdesktop-thumbnailer.c 2014-03-19 05:52:10 +0000 |
2674 | @@ -221,7 +221,7 @@ |
2675 | g_object_unref(thumbnailer->priv->proxy); |
2676 | |
2677 | if(thumbnailer->priv->supported_mimetypes) |
2678 | - g_free(thumbnailer->priv->supported_mimetypes); |
2679 | + g_strfreev(thumbnailer->priv->supported_mimetypes); |
2680 | |
2681 | g_free(thumbnailer->priv); |
2682 | thumbnailer->priv = NULL; |
2683 | |
2684 | === modified file 'config.h.in' |
2685 | --- config.h.in 2014-02-20 15:59:49 +0000 |
2686 | +++ config.h.in 2014-03-19 05:52:10 +0000 |
2687 | @@ -182,6 +182,9 @@ |
2688 | /* Version number of package */ |
2689 | #undef VERSION |
2690 | |
2691 | +/* Short version string of xfdesktop */ |
2692 | +#undef XFDESKTOP_VERSION_SHORT |
2693 | + |
2694 | /* Define to 1 if the X Window System is missing or not being used. */ |
2695 | #undef X_DISPLAY_MISSING |
2696 | |
2697 | |
2698 | === modified file 'configure' |
2699 | --- configure 2014-02-20 15:59:49 +0000 |
2700 | +++ configure 2014-03-19 05:52:10 +0000 |
2701 | @@ -1,6 +1,6 @@ |
2702 | #! /bin/sh |
2703 | # Guess values for system-dependent variables and create Makefiles. |
2704 | -# Generated by GNU Autoconf 2.69 for xfdesktop 4.11.3. |
2705 | +# Generated by GNU Autoconf 2.69 for xfdesktop 4.11.4. |
2706 | # |
2707 | # Report bugs to <http://bugzilla.xfce.org/>. |
2708 | # |
2709 | @@ -590,8 +590,8 @@ |
2710 | # Identity of this package. |
2711 | PACKAGE_NAME='xfdesktop' |
2712 | PACKAGE_TARNAME='xfdesktop' |
2713 | -PACKAGE_VERSION='4.11.3' |
2714 | -PACKAGE_STRING='xfdesktop 4.11.3' |
2715 | +PACKAGE_VERSION='4.11.4' |
2716 | +PACKAGE_STRING='xfdesktop 4.11.4' |
2717 | PACKAGE_BUGREPORT='http://bugzilla.xfce.org/' |
2718 | PACKAGE_URL='' |
2719 | |
2720 | @@ -647,10 +647,6 @@ |
2721 | GARCON_LIBS |
2722 | GARCON_CFLAGS |
2723 | GARCON_VERSION |
2724 | -LIBEXO_REQUIRED_VERSION |
2725 | -LIBEXO_LIBS |
2726 | -LIBEXO_CFLAGS |
2727 | -LIBEXO_VERSION |
2728 | HAVE_THUNARX_FALSE |
2729 | HAVE_THUNARX_TRUE |
2730 | THUNARX_REQUIRED_VERSION |
2731 | @@ -659,10 +655,6 @@ |
2732 | THUNARX_VERSION |
2733 | ENABLE_FILE_ICONS_FALSE |
2734 | ENABLE_FILE_ICONS_TRUE |
2735 | -DBUS_REQUIRED_VERSION |
2736 | -DBUS_LIBS |
2737 | -DBUS_CFLAGS |
2738 | -DBUS_VERSION |
2739 | ENABLE_DESKTOP_ICONS_FALSE |
2740 | ENABLE_DESKTOP_ICONS_TRUE |
2741 | HAVE_GIO_UNIX_FALSE |
2742 | @@ -671,6 +663,10 @@ |
2743 | GIO_UNIX_LIBS |
2744 | GIO_UNIX_CFLAGS |
2745 | GIO_UNIX_VERSION |
2746 | +LIBEXO_REQUIRED_VERSION |
2747 | +LIBEXO_LIBS |
2748 | +LIBEXO_CFLAGS |
2749 | +LIBEXO_VERSION |
2750 | XFCONF_REQUIRED_VERSION |
2751 | XFCONF_LIBS |
2752 | XFCONF_CFLAGS |
2753 | @@ -687,6 +683,10 @@ |
2754 | LIBXFCE4UTIL_LIBS |
2755 | LIBXFCE4UTIL_CFLAGS |
2756 | LIBXFCE4UTIL_VERSION |
2757 | +DBUS_REQUIRED_VERSION |
2758 | +DBUS_LIBS |
2759 | +DBUS_CFLAGS |
2760 | +DBUS_VERSION |
2761 | GTK_REQUIRED_VERSION |
2762 | GTK_LIBS |
2763 | GTK_CFLAGS |
2764 | @@ -710,6 +710,7 @@ |
2765 | PKG_CONFIG_LIBDIR |
2766 | PKG_CONFIG_PATH |
2767 | PKG_CONFIG |
2768 | +XFDESKTOP_VERSION_SHORT |
2769 | DBUS_BINDING_TOOL |
2770 | LIBSM_LIBS |
2771 | LIBSM_LDFLAGS |
2772 | @@ -1467,7 +1468,7 @@ |
2773 | # Omit some internal or obsolete options to make the list less imposing. |
2774 | # This message is too long to be a string in the A/UX 3.1 sh. |
2775 | cat <<_ACEOF |
2776 | -\`configure' configures xfdesktop 4.11.3 to adapt to many kinds of systems. |
2777 | +\`configure' configures xfdesktop 4.11.4 to adapt to many kinds of systems. |
2778 | |
2779 | Usage: $0 [OPTION]... [VAR=VALUE]... |
2780 | |
2781 | @@ -1541,7 +1542,7 @@ |
2782 | |
2783 | if test -n "$ac_init_help"; then |
2784 | case $ac_init_help in |
2785 | - short | recursive ) echo "Configuration of xfdesktop 4.11.3:";; |
2786 | + short | recursive ) echo "Configuration of xfdesktop 4.11.4:";; |
2787 | esac |
2788 | cat <<\_ACEOF |
2789 | |
2790 | @@ -1687,7 +1688,7 @@ |
2791 | test -n "$ac_init_help" && exit $ac_status |
2792 | if $ac_init_version; then |
2793 | cat <<\_ACEOF |
2794 | -xfdesktop configure 4.11.3 |
2795 | +xfdesktop configure 4.11.4 |
2796 | generated by GNU Autoconf 2.69 |
2797 | |
2798 | Copyright (C) 2012 Free Software Foundation, Inc. |
2799 | @@ -2056,7 +2057,7 @@ |
2800 | This file contains any messages produced by compilers while |
2801 | running configure, to aid debugging if configure makes a mistake. |
2802 | |
2803 | -It was created by xfdesktop $as_me 4.11.3, which was |
2804 | +It was created by xfdesktop $as_me 4.11.4, which was |
2805 | generated by GNU Autoconf 2.69. Invocation command line was |
2806 | |
2807 | $ $0 $@ |
2808 | @@ -2921,7 +2922,7 @@ |
2809 | |
2810 | # Define the identity of the package. |
2811 | PACKAGE='xfdesktop' |
2812 | - VERSION='4.11.3' |
2813 | + VERSION='4.11.4' |
2814 | |
2815 | |
2816 | cat >>confdefs.h <<_ACEOF |
2817 | @@ -15053,6 +15054,12 @@ |
2818 | fi |
2819 | |
2820 | |
2821 | +$as_echo "#define XFDESKTOP_VERSION_SHORT \"4.11\"" >>confdefs.h |
2822 | + |
2823 | +XFDESKTOP_VERSION_SHORT="4.11" |
2824 | + |
2825 | + |
2826 | + |
2827 | |
2828 | # minimum supported version of pkg-config |
2829 | xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 |
2830 | @@ -16167,6 +16174,201 @@ |
2831 | |
2832 | |
2833 | |
2834 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-glib-1 >= 0.84" >&5 |
2835 | +$as_echo_n "checking for dbus-glib-1 >= 0.84... " >&6; } |
2836 | + if $PKG_CONFIG "--atleast-version=0.84" "dbus-glib-1" >/dev/null 2>&1; then |
2837 | + DBUS_VERSION=`$PKG_CONFIG --modversion "dbus-glib-1"` |
2838 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_VERSION" >&5 |
2839 | +$as_echo "$DBUS_VERSION" >&6; } |
2840 | + |
2841 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 |
2842 | +$as_echo_n "checking DBUS_CFLAGS... " >&6; } |
2843 | + DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1"` |
2844 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 |
2845 | +$as_echo "$DBUS_CFLAGS" >&6; } |
2846 | + |
2847 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 |
2848 | +$as_echo_n "checking DBUS_LIBS... " >&6; } |
2849 | + DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1"` |
2850 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 |
2851 | +$as_echo "$DBUS_LIBS" >&6; } |
2852 | + |
2853 | + DBUS_REQUIRED_VERSION=0.84 |
2854 | + |
2855 | + |
2856 | + |
2857 | + |
2858 | + |
2859 | + |
2860 | + |
2861 | + elif $PKG_CONFIG --exists "dbus-glib-1" >/dev/null 2>&1; then |
2862 | + xdt_cv_version=`$PKG_CONFIG --modversion "dbus-glib-1"` |
2863 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 |
2864 | +$as_echo "found, but $xdt_cv_version" >&6; } |
2865 | + |
2866 | + |
2867 | + echo "*** The required package dbus-glib-1 was found on your system," |
2868 | + echo "*** but the installed version ($xdt_cv_version) is too old." |
2869 | + echo "*** Please upgrade dbus-glib-1 to atleast version 0.84, or adjust" |
2870 | + echo "*** the PKG_CONFIG_PATH environment variable if you installed" |
2871 | + echo "*** the new version of the package in a nonstandard prefix so" |
2872 | + echo "*** pkg-config is able to find it." |
2873 | + exit 1 |
2874 | + |
2875 | + else |
2876 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
2877 | +$as_echo "not found" >&6; } |
2878 | + |
2879 | + |
2880 | + echo "*** The required package dbus-glib-1 was not found on your system." |
2881 | + echo "*** Please install dbus-glib-1 (atleast version 0.84) or adjust" |
2882 | + echo "*** the PKG_CONFIG_PATH environment variable if you" |
2883 | + echo "*** installed the package in a nonstandard prefix so that" |
2884 | + echo "*** pkg-config is able to find it." |
2885 | + exit 1 |
2886 | + |
2887 | + fi |
2888 | + |
2889 | + |
2890 | + |
2891 | + # minimum supported version of pkg-config |
2892 | + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 |
2893 | + |
2894 | + |
2895 | + |
2896 | + |
2897 | + |
2898 | + |
2899 | + |
2900 | + |
2901 | + |
2902 | +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
2903 | + if test -n "$ac_tool_prefix"; then |
2904 | + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
2905 | +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
2906 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2907 | +$as_echo_n "checking for $ac_word... " >&6; } |
2908 | +if ${ac_cv_path_PKG_CONFIG+:} false; then : |
2909 | + $as_echo_n "(cached) " >&6 |
2910 | +else |
2911 | + case $PKG_CONFIG in |
2912 | + [\\/]* | ?:[\\/]*) |
2913 | + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
2914 | + ;; |
2915 | + *) |
2916 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2917 | +for as_dir in $PATH |
2918 | +do |
2919 | + IFS=$as_save_IFS |
2920 | + test -z "$as_dir" && as_dir=. |
2921 | + for ac_exec_ext in '' $ac_executable_extensions; do |
2922 | + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2923 | + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
2924 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2925 | + break 2 |
2926 | + fi |
2927 | +done |
2928 | + done |
2929 | +IFS=$as_save_IFS |
2930 | + |
2931 | + ;; |
2932 | +esac |
2933 | +fi |
2934 | +PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
2935 | +if test -n "$PKG_CONFIG"; then |
2936 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
2937 | +$as_echo "$PKG_CONFIG" >&6; } |
2938 | +else |
2939 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2940 | +$as_echo "no" >&6; } |
2941 | +fi |
2942 | + |
2943 | + |
2944 | +fi |
2945 | +if test -z "$ac_cv_path_PKG_CONFIG"; then |
2946 | + ac_pt_PKG_CONFIG=$PKG_CONFIG |
2947 | + # Extract the first word of "pkg-config", so it can be a program name with args. |
2948 | +set dummy pkg-config; ac_word=$2 |
2949 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2950 | +$as_echo_n "checking for $ac_word... " >&6; } |
2951 | +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
2952 | + $as_echo_n "(cached) " >&6 |
2953 | +else |
2954 | + case $ac_pt_PKG_CONFIG in |
2955 | + [\\/]* | ?:[\\/]*) |
2956 | + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
2957 | + ;; |
2958 | + *) |
2959 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2960 | +for as_dir in $PATH |
2961 | +do |
2962 | + IFS=$as_save_IFS |
2963 | + test -z "$as_dir" && as_dir=. |
2964 | + for ac_exec_ext in '' $ac_executable_extensions; do |
2965 | + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2966 | + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
2967 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2968 | + break 2 |
2969 | + fi |
2970 | +done |
2971 | + done |
2972 | +IFS=$as_save_IFS |
2973 | + |
2974 | + ;; |
2975 | +esac |
2976 | +fi |
2977 | +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
2978 | +if test -n "$ac_pt_PKG_CONFIG"; then |
2979 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
2980 | +$as_echo "$ac_pt_PKG_CONFIG" >&6; } |
2981 | +else |
2982 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2983 | +$as_echo "no" >&6; } |
2984 | +fi |
2985 | + |
2986 | + if test "x$ac_pt_PKG_CONFIG" = x; then |
2987 | + PKG_CONFIG="" |
2988 | + else |
2989 | + case $cross_compiling:$ac_tool_warned in |
2990 | +yes:) |
2991 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2992 | +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2993 | +ac_tool_warned=yes ;; |
2994 | +esac |
2995 | + PKG_CONFIG=$ac_pt_PKG_CONFIG |
2996 | + fi |
2997 | +else |
2998 | + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
2999 | +fi |
3000 | + |
3001 | +fi |
3002 | +if test -n "$PKG_CONFIG"; then |
3003 | + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION |
3004 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
3005 | +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
3006 | + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
3007 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3008 | +$as_echo "yes" >&6; } |
3009 | + else |
3010 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3011 | +$as_echo "no" >&6; } |
3012 | + PKG_CONFIG="" |
3013 | + fi |
3014 | +fi |
3015 | + |
3016 | + if test x"$PKG_CONFIG" = x""; then |
3017 | + echo |
3018 | + echo "*** Your version of pkg-config is too old. You need atleast" |
3019 | + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" |
3020 | + echo "*** from the freedesktop.org software repository at" |
3021 | + echo "***" |
3022 | + echo "*** http://www.freedesktop.org/software/pkgconfig" |
3023 | + echo "***" |
3024 | + exit 1; |
3025 | + fi |
3026 | + |
3027 | + |
3028 | + |
3029 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.10.0" >&5 |
3030 | $as_echo_n "checking for libxfce4util-1.0 >= 4.10.0... " >&6; } |
3031 | if $PKG_CONFIG "--atleast-version=4.10.0" "libxfce4util-1.0" >/dev/null 2>&1; then |
3032 | @@ -16362,9 +16564,9 @@ |
3033 | |
3034 | |
3035 | |
3036 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-1 >= 4.10.0" >&5 |
3037 | -$as_echo_n "checking for libxfce4ui-1 >= 4.10.0... " >&6; } |
3038 | - if $PKG_CONFIG "--atleast-version=4.10.0" "libxfce4ui-1" >/dev/null 2>&1; then |
3039 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-1 >= 4.11.1" >&5 |
3040 | +$as_echo_n "checking for libxfce4ui-1 >= 4.11.1... " >&6; } |
3041 | + if $PKG_CONFIG "--atleast-version=4.11.1" "libxfce4ui-1" >/dev/null 2>&1; then |
3042 | LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-1"` |
3043 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5 |
3044 | $as_echo "$LIBXFCE4UI_VERSION" >&6; } |
3045 | @@ -16381,7 +16583,7 @@ |
3046 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5 |
3047 | $as_echo "$LIBXFCE4UI_LIBS" >&6; } |
3048 | |
3049 | - LIBXFCE4UI_REQUIRED_VERSION=4.10.0 |
3050 | + LIBXFCE4UI_REQUIRED_VERSION=4.11.1 |
3051 | |
3052 | |
3053 | |
3054 | @@ -16397,7 +16599,7 @@ |
3055 | |
3056 | echo "*** The required package libxfce4ui-1 was found on your system," |
3057 | echo "*** but the installed version ($xdt_cv_version) is too old." |
3058 | - echo "*** Please upgrade libxfce4ui-1 to atleast version 4.10.0, or adjust" |
3059 | + echo "*** Please upgrade libxfce4ui-1 to atleast version 4.11.1, or adjust" |
3060 | echo "*** the PKG_CONFIG_PATH environment variable if you installed" |
3061 | echo "*** the new version of the package in a nonstandard prefix so" |
3062 | echo "*** pkg-config is able to find it." |
3063 | @@ -16409,7 +16611,7 @@ |
3064 | |
3065 | |
3066 | echo "*** The required package libxfce4ui-1 was not found on your system." |
3067 | - echo "*** Please install libxfce4ui-1 (atleast version 4.10.0) or adjust" |
3068 | + echo "*** Please install libxfce4ui-1 (atleast version 4.11.1) or adjust" |
3069 | echo "*** the PKG_CONFIG_PATH environment variable if you" |
3070 | echo "*** installed the package in a nonstandard prefix so that" |
3071 | echo "*** pkg-config is able to find it." |
3072 | @@ -16809,6 +17011,201 @@ |
3073 | |
3074 | |
3075 | |
3076 | + # minimum supported version of pkg-config |
3077 | + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 |
3078 | + |
3079 | + |
3080 | + |
3081 | + |
3082 | + |
3083 | + |
3084 | + |
3085 | + |
3086 | + |
3087 | +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
3088 | + if test -n "$ac_tool_prefix"; then |
3089 | + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
3090 | +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
3091 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3092 | +$as_echo_n "checking for $ac_word... " >&6; } |
3093 | +if ${ac_cv_path_PKG_CONFIG+:} false; then : |
3094 | + $as_echo_n "(cached) " >&6 |
3095 | +else |
3096 | + case $PKG_CONFIG in |
3097 | + [\\/]* | ?:[\\/]*) |
3098 | + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
3099 | + ;; |
3100 | + *) |
3101 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3102 | +for as_dir in $PATH |
3103 | +do |
3104 | + IFS=$as_save_IFS |
3105 | + test -z "$as_dir" && as_dir=. |
3106 | + for ac_exec_ext in '' $ac_executable_extensions; do |
3107 | + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3108 | + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3109 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3110 | + break 2 |
3111 | + fi |
3112 | +done |
3113 | + done |
3114 | +IFS=$as_save_IFS |
3115 | + |
3116 | + ;; |
3117 | +esac |
3118 | +fi |
3119 | +PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
3120 | +if test -n "$PKG_CONFIG"; then |
3121 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
3122 | +$as_echo "$PKG_CONFIG" >&6; } |
3123 | +else |
3124 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3125 | +$as_echo "no" >&6; } |
3126 | +fi |
3127 | + |
3128 | + |
3129 | +fi |
3130 | +if test -z "$ac_cv_path_PKG_CONFIG"; then |
3131 | + ac_pt_PKG_CONFIG=$PKG_CONFIG |
3132 | + # Extract the first word of "pkg-config", so it can be a program name with args. |
3133 | +set dummy pkg-config; ac_word=$2 |
3134 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3135 | +$as_echo_n "checking for $ac_word... " >&6; } |
3136 | +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
3137 | + $as_echo_n "(cached) " >&6 |
3138 | +else |
3139 | + case $ac_pt_PKG_CONFIG in |
3140 | + [\\/]* | ?:[\\/]*) |
3141 | + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
3142 | + ;; |
3143 | + *) |
3144 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3145 | +for as_dir in $PATH |
3146 | +do |
3147 | + IFS=$as_save_IFS |
3148 | + test -z "$as_dir" && as_dir=. |
3149 | + for ac_exec_ext in '' $ac_executable_extensions; do |
3150 | + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3151 | + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3152 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3153 | + break 2 |
3154 | + fi |
3155 | +done |
3156 | + done |
3157 | +IFS=$as_save_IFS |
3158 | + |
3159 | + ;; |
3160 | +esac |
3161 | +fi |
3162 | +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
3163 | +if test -n "$ac_pt_PKG_CONFIG"; then |
3164 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
3165 | +$as_echo "$ac_pt_PKG_CONFIG" >&6; } |
3166 | +else |
3167 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3168 | +$as_echo "no" >&6; } |
3169 | +fi |
3170 | + |
3171 | + if test "x$ac_pt_PKG_CONFIG" = x; then |
3172 | + PKG_CONFIG="" |
3173 | + else |
3174 | + case $cross_compiling:$ac_tool_warned in |
3175 | +yes:) |
3176 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3177 | +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3178 | +ac_tool_warned=yes ;; |
3179 | +esac |
3180 | + PKG_CONFIG=$ac_pt_PKG_CONFIG |
3181 | + fi |
3182 | +else |
3183 | + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
3184 | +fi |
3185 | + |
3186 | +fi |
3187 | +if test -n "$PKG_CONFIG"; then |
3188 | + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION |
3189 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
3190 | +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
3191 | + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
3192 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3193 | +$as_echo "yes" >&6; } |
3194 | + else |
3195 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3196 | +$as_echo "no" >&6; } |
3197 | + PKG_CONFIG="" |
3198 | + fi |
3199 | +fi |
3200 | + |
3201 | + if test x"$PKG_CONFIG" = x""; then |
3202 | + echo |
3203 | + echo "*** Your version of pkg-config is too old. You need atleast" |
3204 | + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" |
3205 | + echo "*** from the freedesktop.org software repository at" |
3206 | + echo "***" |
3207 | + echo "*** http://www.freedesktop.org/software/pkgconfig" |
3208 | + echo "***" |
3209 | + exit 1; |
3210 | + fi |
3211 | + |
3212 | + |
3213 | + |
3214 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exo-1 >= 0.7.0" >&5 |
3215 | +$as_echo_n "checking for exo-1 >= 0.7.0... " >&6; } |
3216 | + if $PKG_CONFIG "--atleast-version=0.7.0" "exo-1" >/dev/null 2>&1; then |
3217 | + LIBEXO_VERSION=`$PKG_CONFIG --modversion "exo-1"` |
3218 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEXO_VERSION" >&5 |
3219 | +$as_echo "$LIBEXO_VERSION" >&6; } |
3220 | + |
3221 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBEXO_CFLAGS" >&5 |
3222 | +$as_echo_n "checking LIBEXO_CFLAGS... " >&6; } |
3223 | + LIBEXO_CFLAGS=`$PKG_CONFIG --cflags "exo-1"` |
3224 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEXO_CFLAGS" >&5 |
3225 | +$as_echo "$LIBEXO_CFLAGS" >&6; } |
3226 | + |
3227 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBEXO_LIBS" >&5 |
3228 | +$as_echo_n "checking LIBEXO_LIBS... " >&6; } |
3229 | + LIBEXO_LIBS=`$PKG_CONFIG --libs "exo-1"` |
3230 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEXO_LIBS" >&5 |
3231 | +$as_echo "$LIBEXO_LIBS" >&6; } |
3232 | + |
3233 | + LIBEXO_REQUIRED_VERSION=0.7.0 |
3234 | + |
3235 | + |
3236 | + |
3237 | + |
3238 | + |
3239 | + |
3240 | + |
3241 | + elif $PKG_CONFIG --exists "exo-1" >/dev/null 2>&1; then |
3242 | + xdt_cv_version=`$PKG_CONFIG --modversion "exo-1"` |
3243 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 |
3244 | +$as_echo "found, but $xdt_cv_version" >&6; } |
3245 | + |
3246 | + |
3247 | + echo "*** The required package exo-1 was found on your system," |
3248 | + echo "*** but the installed version ($xdt_cv_version) is too old." |
3249 | + echo "*** Please upgrade exo-1 to atleast version 0.7.0, or adjust" |
3250 | + echo "*** the PKG_CONFIG_PATH environment variable if you installed" |
3251 | + echo "*** the new version of the package in a nonstandard prefix so" |
3252 | + echo "*** pkg-config is able to find it." |
3253 | + exit 1 |
3254 | + |
3255 | + else |
3256 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
3257 | +$as_echo "not found" >&6; } |
3258 | + |
3259 | + |
3260 | + echo "*** The required package exo-1 was not found on your system." |
3261 | + echo "*** Please install exo-1 (atleast version 0.7.0) or adjust" |
3262 | + echo "*** the PKG_CONFIG_PATH environment variable if you" |
3263 | + echo "*** installed the package in a nonstandard prefix so that" |
3264 | + echo "*** pkg-config is able to find it." |
3265 | + exit 1 |
3266 | + |
3267 | + fi |
3268 | + |
3269 | + |
3270 | + |
3271 | |
3272 | |
3273 | # Check whether --enable-gio-unix was given. |
3274 | @@ -17082,198 +17479,6 @@ |
3275 | fi |
3276 | |
3277 | if test "x$enable_desktop_icons" = "xyes" -a "x$enable_file_icons" = "xyes"; then |
3278 | - |
3279 | - |
3280 | - # minimum supported version of pkg-config |
3281 | - xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 |
3282 | - |
3283 | - |
3284 | - |
3285 | - |
3286 | - |
3287 | - |
3288 | - |
3289 | - |
3290 | - |
3291 | -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
3292 | - if test -n "$ac_tool_prefix"; then |
3293 | - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
3294 | -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
3295 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3296 | -$as_echo_n "checking for $ac_word... " >&6; } |
3297 | -if ${ac_cv_path_PKG_CONFIG+:} false; then : |
3298 | - $as_echo_n "(cached) " >&6 |
3299 | -else |
3300 | - case $PKG_CONFIG in |
3301 | - [\\/]* | ?:[\\/]*) |
3302 | - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
3303 | - ;; |
3304 | - *) |
3305 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3306 | -for as_dir in $PATH |
3307 | -do |
3308 | - IFS=$as_save_IFS |
3309 | - test -z "$as_dir" && as_dir=. |
3310 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3311 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3312 | - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3313 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3314 | - break 2 |
3315 | - fi |
3316 | -done |
3317 | - done |
3318 | -IFS=$as_save_IFS |
3319 | - |
3320 | - ;; |
3321 | -esac |
3322 | -fi |
3323 | -PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
3324 | -if test -n "$PKG_CONFIG"; then |
3325 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
3326 | -$as_echo "$PKG_CONFIG" >&6; } |
3327 | -else |
3328 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3329 | -$as_echo "no" >&6; } |
3330 | -fi |
3331 | - |
3332 | - |
3333 | -fi |
3334 | -if test -z "$ac_cv_path_PKG_CONFIG"; then |
3335 | - ac_pt_PKG_CONFIG=$PKG_CONFIG |
3336 | - # Extract the first word of "pkg-config", so it can be a program name with args. |
3337 | -set dummy pkg-config; ac_word=$2 |
3338 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3339 | -$as_echo_n "checking for $ac_word... " >&6; } |
3340 | -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
3341 | - $as_echo_n "(cached) " >&6 |
3342 | -else |
3343 | - case $ac_pt_PKG_CONFIG in |
3344 | - [\\/]* | ?:[\\/]*) |
3345 | - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
3346 | - ;; |
3347 | - *) |
3348 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3349 | -for as_dir in $PATH |
3350 | -do |
3351 | - IFS=$as_save_IFS |
3352 | - test -z "$as_dir" && as_dir=. |
3353 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3354 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3355 | - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3356 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3357 | - break 2 |
3358 | - fi |
3359 | -done |
3360 | - done |
3361 | -IFS=$as_save_IFS |
3362 | - |
3363 | - ;; |
3364 | -esac |
3365 | -fi |
3366 | -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
3367 | -if test -n "$ac_pt_PKG_CONFIG"; then |
3368 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
3369 | -$as_echo "$ac_pt_PKG_CONFIG" >&6; } |
3370 | -else |
3371 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3372 | -$as_echo "no" >&6; } |
3373 | -fi |
3374 | - |
3375 | - if test "x$ac_pt_PKG_CONFIG" = x; then |
3376 | - PKG_CONFIG="" |
3377 | - else |
3378 | - case $cross_compiling:$ac_tool_warned in |
3379 | -yes:) |
3380 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3381 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3382 | -ac_tool_warned=yes ;; |
3383 | -esac |
3384 | - PKG_CONFIG=$ac_pt_PKG_CONFIG |
3385 | - fi |
3386 | -else |
3387 | - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
3388 | -fi |
3389 | - |
3390 | -fi |
3391 | -if test -n "$PKG_CONFIG"; then |
3392 | - _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION |
3393 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
3394 | -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
3395 | - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
3396 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3397 | -$as_echo "yes" >&6; } |
3398 | - else |
3399 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3400 | -$as_echo "no" >&6; } |
3401 | - PKG_CONFIG="" |
3402 | - fi |
3403 | -fi |
3404 | - |
3405 | - if test x"$PKG_CONFIG" = x""; then |
3406 | - echo |
3407 | - echo "*** Your version of pkg-config is too old. You need atleast" |
3408 | - echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" |
3409 | - echo "*** from the freedesktop.org software repository at" |
3410 | - echo "***" |
3411 | - echo "*** http://www.freedesktop.org/software/pkgconfig" |
3412 | - echo "***" |
3413 | - exit 1; |
3414 | - fi |
3415 | - |
3416 | - |
3417 | - |
3418 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-glib-1 >= 0.84" >&5 |
3419 | -$as_echo_n "checking for dbus-glib-1 >= 0.84... " >&6; } |
3420 | - if $PKG_CONFIG "--atleast-version=0.84" "dbus-glib-1" >/dev/null 2>&1; then |
3421 | - DBUS_VERSION=`$PKG_CONFIG --modversion "dbus-glib-1"` |
3422 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_VERSION" >&5 |
3423 | -$as_echo "$DBUS_VERSION" >&6; } |
3424 | - |
3425 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 |
3426 | -$as_echo_n "checking DBUS_CFLAGS... " >&6; } |
3427 | - DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1"` |
3428 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 |
3429 | -$as_echo "$DBUS_CFLAGS" >&6; } |
3430 | - |
3431 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 |
3432 | -$as_echo_n "checking DBUS_LIBS... " >&6; } |
3433 | - DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1"` |
3434 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 |
3435 | -$as_echo "$DBUS_LIBS" >&6; } |
3436 | - |
3437 | - DBUS_REQUIRED_VERSION=0.84 |
3438 | - |
3439 | - |
3440 | - |
3441 | - |
3442 | - |
3443 | - |
3444 | - |
3445 | - elif $PKG_CONFIG --exists "dbus-glib-1" >/dev/null 2>&1; then |
3446 | - xdt_cv_version=`$PKG_CONFIG --modversion "dbus-glib-1"` |
3447 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 |
3448 | -$as_echo "found, but $xdt_cv_version" >&6; } |
3449 | - |
3450 | - |
3451 | -echo "*** Optional package dbus-glib-1 was either not found on your system" |
3452 | -echo "*** or is too old. Please install or upgrade to at least version" |
3453 | -echo "*** 0.84, or adjust the PKG_CONFIG_PATH environment variable" |
3454 | -echo "*** if you installed the new version of the package in a nonstandard" |
3455 | -echo "*** prefix. File/launcher icons will be disabled." |
3456 | - |
3457 | - else |
3458 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
3459 | -$as_echo "not found" >&6; } |
3460 | - |
3461 | - |
3462 | -echo "*** Optional package dbus-glib-1 was either not found on your system" |
3463 | -echo "*** or is too old. Please install or upgrade to at least version" |
3464 | -echo "*** 0.84, or adjust the PKG_CONFIG_PATH environment variable" |
3465 | -echo "*** if you installed the new version of the package in a nonstandard" |
3466 | -echo "*** prefix. File/launcher icons will be disabled." |
3467 | - |
3468 | - fi |
3469 | - |
3470 | enable_file_icons="no" |
3471 | if test "x$DBUS_VERSION" != "x"; then |
3472 | enable_file_icons="yes" |
3473 | @@ -17531,202 +17736,6 @@ |
3474 | |
3475 | |
3476 | |
3477 | - |
3478 | - # minimum supported version of pkg-config |
3479 | - xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 |
3480 | - |
3481 | - |
3482 | - |
3483 | - |
3484 | - |
3485 | - |
3486 | - |
3487 | - |
3488 | - |
3489 | -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
3490 | - if test -n "$ac_tool_prefix"; then |
3491 | - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
3492 | -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
3493 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3494 | -$as_echo_n "checking for $ac_word... " >&6; } |
3495 | -if ${ac_cv_path_PKG_CONFIG+:} false; then : |
3496 | - $as_echo_n "(cached) " >&6 |
3497 | -else |
3498 | - case $PKG_CONFIG in |
3499 | - [\\/]* | ?:[\\/]*) |
3500 | - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
3501 | - ;; |
3502 | - *) |
3503 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3504 | -for as_dir in $PATH |
3505 | -do |
3506 | - IFS=$as_save_IFS |
3507 | - test -z "$as_dir" && as_dir=. |
3508 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3509 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3510 | - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3511 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3512 | - break 2 |
3513 | - fi |
3514 | -done |
3515 | - done |
3516 | -IFS=$as_save_IFS |
3517 | - |
3518 | - ;; |
3519 | -esac |
3520 | -fi |
3521 | -PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
3522 | -if test -n "$PKG_CONFIG"; then |
3523 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
3524 | -$as_echo "$PKG_CONFIG" >&6; } |
3525 | -else |
3526 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3527 | -$as_echo "no" >&6; } |
3528 | -fi |
3529 | - |
3530 | - |
3531 | -fi |
3532 | -if test -z "$ac_cv_path_PKG_CONFIG"; then |
3533 | - ac_pt_PKG_CONFIG=$PKG_CONFIG |
3534 | - # Extract the first word of "pkg-config", so it can be a program name with args. |
3535 | -set dummy pkg-config; ac_word=$2 |
3536 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3537 | -$as_echo_n "checking for $ac_word... " >&6; } |
3538 | -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
3539 | - $as_echo_n "(cached) " >&6 |
3540 | -else |
3541 | - case $ac_pt_PKG_CONFIG in |
3542 | - [\\/]* | ?:[\\/]*) |
3543 | - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
3544 | - ;; |
3545 | - *) |
3546 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3547 | -for as_dir in $PATH |
3548 | -do |
3549 | - IFS=$as_save_IFS |
3550 | - test -z "$as_dir" && as_dir=. |
3551 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3552 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3553 | - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3554 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3555 | - break 2 |
3556 | - fi |
3557 | -done |
3558 | - done |
3559 | -IFS=$as_save_IFS |
3560 | - |
3561 | - ;; |
3562 | -esac |
3563 | -fi |
3564 | -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
3565 | -if test -n "$ac_pt_PKG_CONFIG"; then |
3566 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
3567 | -$as_echo "$ac_pt_PKG_CONFIG" >&6; } |
3568 | -else |
3569 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3570 | -$as_echo "no" >&6; } |
3571 | -fi |
3572 | - |
3573 | - if test "x$ac_pt_PKG_CONFIG" = x; then |
3574 | - PKG_CONFIG="" |
3575 | - else |
3576 | - case $cross_compiling:$ac_tool_warned in |
3577 | -yes:) |
3578 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3579 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3580 | -ac_tool_warned=yes ;; |
3581 | -esac |
3582 | - PKG_CONFIG=$ac_pt_PKG_CONFIG |
3583 | - fi |
3584 | -else |
3585 | - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
3586 | -fi |
3587 | - |
3588 | -fi |
3589 | -if test -n "$PKG_CONFIG"; then |
3590 | - _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION |
3591 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
3592 | -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
3593 | - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
3594 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3595 | -$as_echo "yes" >&6; } |
3596 | - else |
3597 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3598 | -$as_echo "no" >&6; } |
3599 | - PKG_CONFIG="" |
3600 | - fi |
3601 | -fi |
3602 | - |
3603 | - if test x"$PKG_CONFIG" = x""; then |
3604 | - echo |
3605 | - echo "*** Your version of pkg-config is too old. You need atleast" |
3606 | - echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" |
3607 | - echo "*** from the freedesktop.org software repository at" |
3608 | - echo "***" |
3609 | - echo "*** http://www.freedesktop.org/software/pkgconfig" |
3610 | - echo "***" |
3611 | - exit 1; |
3612 | - fi |
3613 | - |
3614 | - |
3615 | - |
3616 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exo-1 >= 0.7.0" >&5 |
3617 | -$as_echo_n "checking for exo-1 >= 0.7.0... " >&6; } |
3618 | - if $PKG_CONFIG "--atleast-version=0.7.0" "exo-1" >/dev/null 2>&1; then |
3619 | - LIBEXO_VERSION=`$PKG_CONFIG --modversion "exo-1"` |
3620 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEXO_VERSION" >&5 |
3621 | -$as_echo "$LIBEXO_VERSION" >&6; } |
3622 | - |
3623 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBEXO_CFLAGS" >&5 |
3624 | -$as_echo_n "checking LIBEXO_CFLAGS... " >&6; } |
3625 | - LIBEXO_CFLAGS=`$PKG_CONFIG --cflags "exo-1"` |
3626 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEXO_CFLAGS" >&5 |
3627 | -$as_echo "$LIBEXO_CFLAGS" >&6; } |
3628 | - |
3629 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBEXO_LIBS" >&5 |
3630 | -$as_echo_n "checking LIBEXO_LIBS... " >&6; } |
3631 | - LIBEXO_LIBS=`$PKG_CONFIG --libs "exo-1"` |
3632 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEXO_LIBS" >&5 |
3633 | -$as_echo "$LIBEXO_LIBS" >&6; } |
3634 | - |
3635 | - LIBEXO_REQUIRED_VERSION=0.7.0 |
3636 | - |
3637 | - |
3638 | - |
3639 | - |
3640 | - |
3641 | - |
3642 | - |
3643 | - elif $PKG_CONFIG --exists "exo-1" >/dev/null 2>&1; then |
3644 | - xdt_cv_version=`$PKG_CONFIG --modversion "exo-1"` |
3645 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 |
3646 | -$as_echo "found, but $xdt_cv_version" >&6; } |
3647 | - |
3648 | - |
3649 | - echo "*** The required package exo-1 was found on your system," |
3650 | - echo "*** but the installed version ($xdt_cv_version) is too old." |
3651 | - echo "*** Please upgrade exo-1 to atleast version 0.7.0, or adjust" |
3652 | - echo "*** the PKG_CONFIG_PATH environment variable if you installed" |
3653 | - echo "*** the new version of the package in a nonstandard prefix so" |
3654 | - echo "*** pkg-config is able to find it." |
3655 | - exit 1 |
3656 | - |
3657 | - else |
3658 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
3659 | -$as_echo "not found" >&6; } |
3660 | - |
3661 | - |
3662 | - echo "*** The required package exo-1 was not found on your system." |
3663 | - echo "*** Please install exo-1 (atleast version 0.7.0) or adjust" |
3664 | - echo "*** the PKG_CONFIG_PATH environment variable if you" |
3665 | - echo "*** installed the package in a nonstandard prefix so that" |
3666 | - echo "*** pkg-config is able to find it." |
3667 | - exit 1 |
3668 | - |
3669 | - fi |
3670 | - |
3671 | - |
3672 | - |
3673 | # Check whether --enable-desktop-menu was given. |
3674 | if test "${enable_desktop_menu+set}" = set; then : |
3675 | enableval=$enable_desktop_menu; ac_cv_enable_desktop_menu=$enableval |
3676 | @@ -18292,7 +18301,7 @@ |
3677 | fi |
3678 | |
3679 | |
3680 | -ac_config_files="$ac_config_files Makefile backgrounds/Makefile common/Makefile doc/Makefile pixmaps/Makefile po/Makefile.in settings/Makefile src/Makefile" |
3681 | +ac_config_files="$ac_config_files Makefile backgrounds/Makefile common/Makefile doc/Makefile pixmaps/Makefile po/Makefile.in settings/xfce-backdrop-settings.desktop.in settings/Makefile src/Makefile" |
3682 | |
3683 | cat >confcache <<\_ACEOF |
3684 | # This file is a shell script that caches the results of configure |
3685 | @@ -18864,7 +18873,7 @@ |
3686 | # report actual input values of CONFIG_FILES etc. instead of their |
3687 | # values after options handling. |
3688 | ac_log=" |
3689 | -This file was extended by xfdesktop $as_me 4.11.3, which was |
3690 | +This file was extended by xfdesktop $as_me 4.11.4, which was |
3691 | generated by GNU Autoconf 2.69. Invocation command line was |
3692 | |
3693 | CONFIG_FILES = $CONFIG_FILES |
3694 | @@ -18930,7 +18939,7 @@ |
3695 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3696 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
3697 | ac_cs_version="\\ |
3698 | -xfdesktop config.status 4.11.3 |
3699 | +xfdesktop config.status 4.11.4 |
3700 | configured by $0, generated by GNU Autoconf 2.69, |
3701 | with options \\"\$ac_cs_config\\" |
3702 | |
3703 | @@ -19347,6 +19356,7 @@ |
3704 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
3705 | "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;; |
3706 | "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
3707 | + "settings/xfce-backdrop-settings.desktop.in") CONFIG_FILES="$CONFIG_FILES settings/xfce-backdrop-settings.desktop.in" ;; |
3708 | "settings/Makefile") CONFIG_FILES="$CONFIG_FILES settings/Makefile" ;; |
3709 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
3710 | "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; |
3711 | |
3712 | === modified file 'configure.ac' |
3713 | --- configure.ac 2014-02-20 15:59:49 +0000 |
3714 | +++ configure.ac 2014-03-19 05:52:10 +0000 |
3715 | @@ -11,9 +11,9 @@ |
3716 | dnl version info |
3717 | m4_define([xfdesktop_version_major], [4]) |
3718 | m4_define([xfdesktop_version_minor], [11]) |
3719 | -m4_define([xfdesktop_version_micro], [3]) |
3720 | +m4_define([xfdesktop_version_micro], [4]) |
3721 | m4_define([xfdesktop_version_nano], []) |
3722 | -m4_define([xfdesktop_version_build], [9b9bacb]) |
3723 | +m4_define([xfdesktop_version_build], [46bf9f7]) |
3724 | m4_define([xfdesktop_version_tag],[]) |
3725 | m4_define([xfdesktop_version], [xfdesktop_version_major().xfdesktop_version_minor().xfdesktop_version_micro()ifelse(xfdesktop_version_nano(), [], [], [.xfdesktop_version_nano()])ifelse(xfdesktop_version_tag(), [git], [xfdesktop_version_tag()-xfdesktop_version_build()], [xfdesktop_version_tag()])]) |
3726 | |
3727 | @@ -21,7 +21,7 @@ |
3728 | m4_define([glib_minimum_version], [2.30.0]) |
3729 | m4_define([gtk_minimum_version], [2.24.0]) |
3730 | m4_define([libxfce4util_minimum_version], [4.10.0]) |
3731 | -m4_define([libxfce4ui_minimum_version], [4.10.0]) |
3732 | +m4_define([libxfce4ui_minimum_version], [4.11.1]) |
3733 | m4_define([xfce_minimum_version], [4.10.0]) |
3734 | m4_define([garcon_minimum_version], [0.1.2]) |
3735 | m4_define([exo_minimum_version], [0.7.0]) |
3736 | @@ -31,6 +31,13 @@ |
3737 | m4_define([intltool_minimum_version], [0.31]) |
3738 | m4_define([xfconf_minimum_version], [4.10.0]) |
3739 | |
3740 | +dnl define a short version string for xfdesktop |
3741 | +m4_append([xfdesktop_version_short], ["]) |
3742 | +m4_append([xfdesktop_version_short], [xfdesktop_version_major]) |
3743 | +m4_append([xfdesktop_version_short], [.]) |
3744 | +m4_append([xfdesktop_version_short], [xfdesktop_version_minor]) |
3745 | +m4_append([xfdesktop_version_short], ["]) |
3746 | + |
3747 | dnl init autoconf |
3748 | AC_INIT([xfdesktop], [xfdesktop_version], [http://bugzilla.xfce.org/]) |
3749 | AC_PREREQ([2.60]) |
3750 | @@ -81,18 +88,25 @@ |
3751 | a custom location for it.]) |
3752 | fi |
3753 | |
3754 | +dnl define xfdesktop's short version (major.minor) |
3755 | +AC_DEFINE([XFDESKTOP_VERSION_SHORT], [xfdesktop_version_short], [Short version string of xfdesktop]) |
3756 | +dnl replace the version in settings/xfce-backdrop-settings.desktop.in.in |
3757 | +AC_SUBST([XFDESKTOP_VERSION_SHORT], [xfdesktop_version_short]) |
3758 | + |
3759 | dnl required |
3760 | XDT_CHECK_PACKAGE([GIO], [gio-2.0], [glib_minimum_version]) |
3761 | XDT_CHECK_PACKAGE([GMODULE], [gmodule-2.0], [glib_minimum_version]) |
3762 | XDT_CHECK_PACKAGE([GOBJECT], [gobject-2.0], [glib_minimum_version]) |
3763 | XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [glib_minimum_version]) |
3764 | XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [gtk_minimum_version]) |
3765 | +XDT_CHECK_PACKAGE([DBUS], [dbus-glib-1], [dbus_minimum_version]) |
3766 | XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], |
3767 | [libxfce4util_minimum_version]) |
3768 | XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], |
3769 | [libxfce4ui_minimum_version]) |
3770 | XDT_CHECK_PACKAGE([LIBWNCK], [libwnck-1.0], [wnck_minimum_version]) |
3771 | XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [xfconf_minimum_version]) |
3772 | +XDT_CHECK_PACKAGE([LIBEXO], [exo-1], [exo_minimum_version]) |
3773 | |
3774 | XDT_CHECK_OPTIONAL_PACKAGE([GIO_UNIX], [gio-unix-2.0], [glib_minimum_version], [gio-unix], |
3775 | [gio-unix, for special treatment of mount points on UNIX]) |
3776 | @@ -124,14 +138,6 @@ |
3777 | fi |
3778 | |
3779 | if test "x$enable_desktop_icons" = "xyes" -a "x$enable_file_icons" = "xyes"; then |
3780 | - dnl here i shall abuse the XDT_CHECK_PACKAGE macro |
3781 | - XDT_CHECK_PACKAGE([DBUS], [dbus-glib-1], [dbus_minimum_version], [], [ |
3782 | -echo "*** Optional package dbus-glib-1 was either not found on your system" |
3783 | -echo "*** or is too old. Please install or upgrade to at least version" |
3784 | -echo "*** dbus_minimum_version, or adjust the PKG_CONFIG_PATH environment variable" |
3785 | -echo "*** if you installed the new version of the package in a nonstandard" |
3786 | -echo "*** prefix. File/launcher icons will be disabled." |
3787 | -]) |
3788 | enable_file_icons="no" |
3789 | if test "x$DBUS_VERSION" != "x"; then |
3790 | enable_file_icons="yes" |
3791 | @@ -150,9 +156,6 @@ |
3792 | [thunarx], |
3793 | [Thunar's extension mechanism, to add external features to the desktop icon implementation]) |
3794 | |
3795 | -dnl LIBEXO is required if file icons are enabled |
3796 | -XDT_CHECK_PACKAGE([LIBEXO], [exo-1], [exo_minimum_version]) |
3797 | - |
3798 | |
3799 | AC_ARG_ENABLE([desktop-menu], |
3800 | AS_HELP_STRING([--disable-desktop-menu], |
3801 | @@ -204,6 +207,7 @@ |
3802 | doc/Makefile |
3803 | pixmaps/Makefile |
3804 | po/Makefile.in |
3805 | +settings/xfce-backdrop-settings.desktop.in |
3806 | settings/Makefile |
3807 | src/Makefile |
3808 | ]) |
3809 | |
3810 | === modified file 'debian/changelog' |
3811 | --- debian/changelog 2014-03-01 16:02:38 +0000 |
3812 | +++ debian/changelog 2014-03-19 05:52:10 +0000 |
3813 | @@ -1,3 +1,22 @@ |
3814 | +xfdesktop4 (4.11.4-1ubuntu1) trusty; urgency=medium |
3815 | + |
3816 | + * Merge from debian. Remaining changes: |
3817 | + - debian/patches/xubuntu_improve-nautilus-interactions.patch: added, |
3818 | + should prevent nautilus from taking over the desktop if xfdesktop is |
3819 | + running (and vice-versa). |
3820 | + - debian/patches/xubuntu_set-accountsservice-user-bg.patch: update the |
3821 | + user background property of Accountsservice on backdrop change. |
3822 | + |
3823 | + -- Jackson Doak <noskcaj@ubuntu.com> Wed, 19 Mar 2014 16:33:54 +1100 |
3824 | + |
3825 | +xfdesktop4 (4.11.4-1) experimental; urgency=medium |
3826 | + |
3827 | + [ Jackson Doak ] |
3828 | + * New upstream bugfix release |
3829 | + * Drop git-fix-segfault-on-session-start.patch, fixed upstream |
3830 | + |
3831 | + -- Yves-Alexis Perez <corsac@debian.org> Tue, 18 Mar 2014 22:01:11 +0100 |
3832 | + |
3833 | xfdesktop4 (4.11.3-2ubuntu1) trusty; urgency=medium |
3834 | |
3835 | * Merge from debian. Remaining changes: |
3836 | |
3837 | === removed file 'debian/patches/git-fix-segfault-on-session-start.patch' |
3838 | --- debian/patches/git-fix-segfault-on-session-start.patch 2014-02-28 21:52:55 +0000 |
3839 | +++ debian/patches/git-fix-segfault-on-session-start.patch 1970-01-01 00:00:00 +0000 |
3840 | @@ -1,23 +0,0 @@ |
3841 | -Description: Stop segfaulting on session start |
3842 | - Stop segfaulting on session start. Fix taken from upstream git |
3843 | -Author: Thaddäus Tintenfisch |
3844 | -Bug: https://bugzilla.xfce.org/show_bug.cgi?id=10705 |
3845 | -Bug-Ubuntu: https://launchpad.net/bugs/1282509 |
3846 | - |
3847 | ---- |
3848 | - src/xfce-desktop.c | 4 ++++ |
3849 | - 1 file changed, 4 insertions(+) |
3850 | - |
3851 | ---- a/src/xfce-desktop.c |
3852 | -+++ b/src/xfce-desktop.c |
3853 | -@@ -1662,6 +1662,10 @@ xfce_desktop_refresh(XfceDesktop *deskto |
3854 | - if(!gtk_widget_get_realized(GTK_WIDGET(desktop))) |
3855 | - return; |
3856 | - |
3857 | -+ if(desktop->priv->workspaces == NULL) { |
3858 | -+ return; |
3859 | -+ } |
3860 | -+ |
3861 | - current_workspace = xfce_desktop_get_current_workspace(desktop); |
3862 | - |
3863 | - /* reload backgrounds */ |
3864 | |
3865 | === modified file 'debian/patches/series' |
3866 | --- debian/patches/series 2014-03-01 16:02:38 +0000 |
3867 | +++ debian/patches/series 2014-03-19 05:52:10 +0000 |
3868 | @@ -1,3 +1,2 @@ |
3869 | -git-fix-segfault-on-session-start.patch |
3870 | xubuntu_set-accountsservice-user-bg.patch |
3871 | xubuntu_improve-nautilus-interactions.patch |
3872 | |
3873 | === modified file 'debian/patches/xubuntu_improve-nautilus-interactions.patch' |
3874 | --- debian/patches/xubuntu_improve-nautilus-interactions.patch 2014-02-20 15:59:49 +0000 |
3875 | +++ debian/patches/xubuntu_improve-nautilus-interactions.patch 2014-03-19 05:52:10 +0000 |
3876 | @@ -17,7 +17,7 @@ |
3877 | |
3878 | --- a/src/xfce-desktop.c |
3879 | +++ b/src/xfce-desktop.c |
3880 | -@@ -802,8 +802,8 @@ screen_set_selection(XfceDesktop *deskto |
3881 | +@@ -809,8 +809,8 @@ screen_set_selection(XfceDesktop *deskto |
3882 | { |
3883 | Window xwin; |
3884 | gint xscreen; |
3885 | @@ -28,7 +28,7 @@ |
3886 | |
3887 | xwin = GDK_WINDOW_XID(gtk_widget_get_window(GTK_WIDGET(desktop))); |
3888 | xscreen = gdk_screen_get_number(desktop->priv->gscreen); |
3889 | -@@ -812,6 +812,9 @@ screen_set_selection(XfceDesktop *deskto |
3890 | +@@ -819,6 +819,9 @@ screen_set_selection(XfceDesktop *deskto |
3891 | selection_atom = XInternAtom(gdk_x11_get_default_xdisplay(), selection_name, False); |
3892 | manager_atom = XInternAtom(gdk_x11_get_default_xdisplay(), "MANAGER", False); |
3893 | |
3894 | @@ -38,7 +38,7 @@ |
3895 | /* the previous check in src/main.c occurs too early, so workaround by |
3896 | * adding this one. */ |
3897 | if(XGetSelectionOwner(gdk_x11_get_default_xdisplay(), selection_atom) != None) { |
3898 | -@@ -819,8 +822,16 @@ screen_set_selection(XfceDesktop *deskto |
3899 | +@@ -826,8 +829,16 @@ screen_set_selection(XfceDesktop *deskto |
3900 | exit(0); |
3901 | } |
3902 | |
3903 | |
3904 | === modified file 'debian/patches/xubuntu_set-accountsservice-user-bg.patch' |
3905 | --- debian/patches/xubuntu_set-accountsservice-user-bg.patch 2014-02-20 15:59:49 +0000 |
3906 | +++ debian/patches/xubuntu_set-accountsservice-user-bg.patch 2014-03-19 05:52:10 +0000 |
3907 | @@ -17,7 +17,7 @@ |
3908 | |
3909 | #ifdef ENABLE_DESKTOP_ICONS |
3910 | #include "xfdesktop-icon-view.h" |
3911 | -@@ -352,6 +353,86 @@ create_bg_pixmap(GdkScreen *gscreen, gpo |
3912 | +@@ -351,6 +352,86 @@ create_bg_pixmap(GdkScreen *gscreen, gpo |
3913 | } |
3914 | |
3915 | static void |
3916 | @@ -104,7 +104,7 @@ |
3917 | backdrop_changed_cb(XfceBackdrop *backdrop, gpointer user_data) |
3918 | { |
3919 | XfceDesktop *desktop = XFCE_DESKTOP(user_data); |
3920 | -@@ -384,6 +465,10 @@ backdrop_changed_cb(XfceBackdrop *backdr |
3921 | +@@ -386,6 +467,10 @@ backdrop_changed_cb(XfceBackdrop *backdr |
3922 | } |
3923 | if(monitor == -1) |
3924 | return; |
3925 | |
3926 | === modified file 'doc/Makefile.in' |
3927 | --- doc/Makefile.in 2014-02-20 15:59:49 +0000 |
3928 | +++ doc/Makefile.in 2014-03-19 05:52:10 +0000 |
3929 | @@ -267,6 +267,7 @@ |
3930 | XFCONF_LIBS = @XFCONF_LIBS@ |
3931 | XFCONF_REQUIRED_VERSION = @XFCONF_REQUIRED_VERSION@ |
3932 | XFCONF_VERSION = @XFCONF_VERSION@ |
3933 | +XFDESKTOP_VERSION_SHORT = @XFDESKTOP_VERSION_SHORT@ |
3934 | XGETTEXT = @XGETTEXT@ |
3935 | XGETTEXT_ARGS = @XGETTEXT_ARGS@ |
3936 | XMKMF = @XMKMF@ |
3937 | |
3938 | === modified file 'pixmaps/Makefile.in' |
3939 | --- pixmaps/Makefile.in 2014-02-20 15:59:49 +0000 |
3940 | +++ pixmaps/Makefile.in 2014-03-19 05:52:10 +0000 |
3941 | @@ -300,6 +300,7 @@ |
3942 | XFCONF_LIBS = @XFCONF_LIBS@ |
3943 | XFCONF_REQUIRED_VERSION = @XFCONF_REQUIRED_VERSION@ |
3944 | XFCONF_VERSION = @XFCONF_VERSION@ |
3945 | +XFDESKTOP_VERSION_SHORT = @XFDESKTOP_VERSION_SHORT@ |
3946 | XGETTEXT = @XGETTEXT@ |
3947 | XGETTEXT_ARGS = @XGETTEXT_ARGS@ |
3948 | XMKMF = @XMKMF@ |
3949 | |
3950 | === added file 'po/POTFILES.skip' |
3951 | --- po/POTFILES.skip 1970-01-01 00:00:00 +0000 |
3952 | +++ po/POTFILES.skip 2014-03-19 05:52:10 +0000 |
3953 | @@ -0,0 +1,3 @@ |
3954 | +# List of source files that shouldn't be translated. |
3955 | + |
3956 | +settings/xfce-backdrop-settings.desktop.in.in |
3957 | |
3958 | === modified file 'po/bg.po' |
3959 | --- po/bg.po 2014-02-20 15:59:49 +0000 |
3960 | +++ po/bg.po 2014-03-19 05:52:10 +0000 |
3961 | @@ -5,14 +5,14 @@ |
3962 | # Translators: |
3963 | # cybercop <cybercop_montana@abv.bg>, 2012-2013 |
3964 | # cybercop <cybercop_montana@abv.bg>, 2012 |
3965 | -# cybercop <cybercop_montana@abv.bg>, 2013 |
3966 | +# cybercop <cybercop_montana@abv.bg>, 2013-2014 |
3967 | # Miroslav Yordanov <miordanov@i-space.org>, 2004 |
3968 | msgid "" |
3969 | msgstr "" |
3970 | "Project-Id-Version: Xfdesktop\n" |
3971 | "Report-Msgid-Bugs-To: \n" |
3972 | -"POT-Creation-Date: 2013-12-15 00:31+0100\n" |
3973 | -"PO-Revision-Date: 2013-12-15 06:54+0000\n" |
3974 | +"POT-Creation-Date: 2014-02-24 12:32+0100\n" |
3975 | +"PO-Revision-Date: 2014-02-25 07:31+0000\n" |
3976 | "Last-Translator: cybercop <cybercop_montana@abv.bg>\n" |
3977 | "Language-Team: Bulgarian (http://www.transifex.com/projects/p/xfce/language/bg/)\n" |
3978 | "MIME-Version: 1.0\n" |
3979 | @@ -21,37 +21,37 @@ |
3980 | "Language: bg\n" |
3981 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" |
3982 | |
3983 | -#: ../settings/main.c:372 ../src/xfdesktop-special-file-icon.c:295 |
3984 | +#: ../settings/main.c:375 ../src/xfdesktop-special-file-icon.c:295 |
3985 | #: ../src/xfdesktop-special-file-icon.c:479 |
3986 | msgid "Home" |
3987 | msgstr "Домашна папка" |
3988 | |
3989 | -#: ../settings/main.c:374 |
3990 | +#: ../settings/main.c:377 |
3991 | msgid "Filesystem" |
3992 | msgstr "Файлова система" |
3993 | |
3994 | -#: ../settings/main.c:376 |
3995 | +#: ../settings/main.c:379 |
3996 | msgid "Trash" |
3997 | msgstr "Кошче" |
3998 | |
3999 | -#: ../settings/main.c:378 |
4000 | +#: ../settings/main.c:381 |
4001 | msgid "Removable Devices" |
4002 | msgstr "Преносими устройства" |
4003 | |
4004 | -#: ../settings/main.c:380 |
4005 | +#: ../settings/main.c:383 |
4006 | msgid "Network Shares" |
4007 | msgstr "Споделени в мрежата" |
4008 | |
4009 | -#: ../settings/main.c:382 |
4010 | +#: ../settings/main.c:385 |
4011 | msgid "Disks and Drives" |
4012 | msgstr "Дискове и устройства" |
4013 | |
4014 | -#: ../settings/main.c:384 |
4015 | -msgid "Other Items" |
4016 | -msgstr "Други елементи" |
4017 | +#: ../settings/main.c:387 |
4018 | +msgid "Other Devices" |
4019 | +msgstr "Други устройства" |
4020 | |
4021 | #. Display the file name, file type, and file size in the tooltip. |
4022 | -#: ../settings/main.c:497 |
4023 | +#: ../settings/main.c:500 |
4024 | #, c-format |
4025 | msgid "" |
4026 | "<b>%s</b>\n" |
4027 | @@ -59,97 +59,95 @@ |
4028 | "Size: %s" |
4029 | msgstr "<b>%s</b>\nТип: %s\nРазмер: %s" |
4030 | |
4031 | -#: ../settings/main.c:681 |
4032 | +#: ../settings/main.c:686 |
4033 | #, c-format |
4034 | msgid "Wallpaper for Monitor %d (%s)" |
4035 | msgstr "Изображение за Екран %d (%s)" |
4036 | |
4037 | -#: ../settings/main.c:684 |
4038 | +#: ../settings/main.c:689 |
4039 | #, c-format |
4040 | msgid "Wallpaper for Monitor %d" |
4041 | msgstr "Изображение за Екран %d" |
4042 | |
4043 | -#: ../settings/main.c:690 |
4044 | -msgid "" |
4045 | -"You are using more than one display, move this dialog to the display you " |
4046 | -"want to edit the settings for." |
4047 | -msgstr "Вие използвате повече от един екран. Преместете този диалог на екрана, чиито настройки искате да редактирате." |
4048 | +#: ../settings/main.c:695 |
4049 | +msgid "Move this dialog to the display you want to edit the settings for." |
4050 | +msgstr "Преместете този диалог на екрана, на който искате да промените настройките." |
4051 | |
4052 | -#: ../settings/main.c:698 |
4053 | +#: ../settings/main.c:702 |
4054 | #, c-format |
4055 | msgid "Wallpaper for %s on Monitor %d (%s)" |
4056 | msgstr "Изображение за фон %s на Монитор %d (%s)" |
4057 | |
4058 | -#: ../settings/main.c:702 |
4059 | +#: ../settings/main.c:706 |
4060 | #, c-format |
4061 | msgid "Wallpaper for %s on Monitor %d" |
4062 | msgstr "Изображение за фон %s на Монитор %d" |
4063 | |
4064 | -#: ../settings/main.c:709 |
4065 | +#: ../settings/main.c:713 |
4066 | msgid "" |
4067 | -"You are using more than one display, move this dialog to the display and " |
4068 | -"workspace you want to edit the settings for." |
4069 | -msgstr "Вие използвате повече от един екран. Преместете този диалог на екрана и работното място, чиито настройки искате да редактирате." |
4070 | +"Move this dialog to the display and workspace you want to edit the settings " |
4071 | +"for." |
4072 | +msgstr "Преместете този диалог на работното място, на което искате да промените настройките." |
4073 | |
4074 | #. Single monitor and single workspace |
4075 | -#: ../settings/main.c:717 |
4076 | +#: ../settings/main.c:720 |
4077 | #, c-format |
4078 | msgid "Wallpaper for my desktop" |
4079 | msgstr "Изображение за моят работен плот" |
4080 | |
4081 | #. Single monitor and per workspace wallpaper |
4082 | -#: ../settings/main.c:723 |
4083 | +#: ../settings/main.c:726 |
4084 | #, c-format |
4085 | msgid "Wallpaper for %s" |
4086 | msgstr "Изображение за %s" |
4087 | |
4088 | -#: ../settings/main.c:728 |
4089 | +#: ../settings/main.c:731 |
4090 | msgid "Move this dialog to the workspace you want to edit the settings for." |
4091 | msgstr "Преместете този диалог на работното място, чиито настройки искате да редактирате." |
4092 | |
4093 | -#: ../settings/main.c:1131 |
4094 | +#: ../settings/main.c:1134 |
4095 | msgid "Image selection is unavailable while the image style is set to None." |
4096 | msgstr "Избраното изображение не е достъпно, докато е зададен стил на показване Нищо" |
4097 | |
4098 | -#: ../settings/main.c:1483 |
4099 | +#: ../settings/main.c:1481 |
4100 | msgid "Spanning screens" |
4101 | msgstr "Разпростиращи се екрани" |
4102 | |
4103 | -#: ../settings/main.c:1788 |
4104 | +#: ../settings/main.c:1786 |
4105 | msgid "Image files" |
4106 | msgstr "Файлове с изображения" |
4107 | |
4108 | -#: ../settings/main.c:1945 |
4109 | +#: ../settings/main.c:1958 |
4110 | msgid "Settings manager socket" |
4111 | msgstr "Гнездо за управление на настройките" |
4112 | |
4113 | -#: ../settings/main.c:1945 |
4114 | +#: ../settings/main.c:1958 |
4115 | msgid "SOCKET ID" |
4116 | msgstr "SOCKET ID" |
4117 | |
4118 | -#: ../settings/main.c:1946 |
4119 | +#: ../settings/main.c:1959 |
4120 | msgid "Version information" |
4121 | msgstr "Информация за версията" |
4122 | |
4123 | -#: ../settings/main.c:1973 |
4124 | +#: ../settings/main.c:1986 |
4125 | #, c-format |
4126 | msgid "Type '%s --help' for usage." |
4127 | msgstr "Напишете '%s --help' за показване на потребителско ръководство." |
4128 | |
4129 | -#: ../settings/main.c:1985 |
4130 | +#: ../settings/main.c:1998 |
4131 | msgid "The Xfce development team. All rights reserved." |
4132 | msgstr "Екипът за разработка на Xfce. Всички права запазени." |
4133 | |
4134 | -#: ../settings/main.c:1986 |
4135 | +#: ../settings/main.c:1999 |
4136 | #, c-format |
4137 | msgid "Please report bugs to <%s>." |
4138 | msgstr "Докладвайте за грешки на <%s>." |
4139 | |
4140 | -#: ../settings/main.c:1993 |
4141 | +#: ../settings/main.c:2006 |
4142 | msgid "Desktop Settings" |
4143 | msgstr "Настройки на Работният плот" |
4144 | |
4145 | -#: ../settings/main.c:1995 |
4146 | +#: ../settings/main.c:2008 |
4147 | msgid "Unable to contact settings server" |
4148 | msgstr "Не може да се свърже със сървъра за настройки" |
4149 | |
4150 | @@ -182,16 +180,16 @@ |
4151 | msgstr "Папка:" |
4152 | |
4153 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:6 |
4154 | -msgid "Choose the folder to select wallpapers from" |
4155 | -msgstr "Избор на папка за тапети" |
4156 | +msgid "Choose the folder to select wallpapers from." |
4157 | +msgstr "Изберете папката с изображения." |
4158 | |
4159 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:7 |
4160 | msgid "St_yle:" |
4161 | msgstr "Стил:" |
4162 | |
4163 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:8 |
4164 | -msgid "Specify how the image will be resized to fit the screen" |
4165 | -msgstr "Посочете как изображението ще бъде оразмерено за да се побере в екрана" |
4166 | +msgid "Specify how the image will be resized to fit the screen." |
4167 | +msgstr "Задайте, как изображенията да бъдат оразмерени на екрана." |
4168 | |
4169 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:9 |
4170 | #: ../settings/xfdesktop-settings-ui.glade.h:4 |
4171 | @@ -227,20 +225,20 @@ |
4172 | msgstr "Цвят:" |
4173 | |
4174 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:17 |
4175 | -msgid "Specify the style of the color drawn behind the backdrop image" |
4176 | -msgstr "Показва стила на цвета зад фона на изображението" |
4177 | +msgid "Specify the style of the color drawn behind the backdrop image." |
4178 | +msgstr "Задайте стила на цвета на фона зад изображението." |
4179 | |
4180 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:18 |
4181 | -msgid "Specifies the solid color, or the \"left\" or \"top\" color of the gradient" |
4182 | -msgstr "Задава плътния цвят, или \"левия\" или \"горен\" цвят на градиента" |
4183 | +msgid "Specifies the solid color, or the \"left\" or \"top\" color of the gradient." |
4184 | +msgstr "Задайте плътният цвят, или \"ляв\", или \"горен\" цвят на градиента." |
4185 | |
4186 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:19 |
4187 | msgid "Select First Color" |
4188 | msgstr "Избери първи цвят" |
4189 | |
4190 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:20 |
4191 | -msgid "Specifies the \"right\" or \"bottom\" color of the gradient" |
4192 | -msgstr "Задава \"десния\" или \"долния\" цвят на градиент" |
4193 | +msgid "Specifies the \"right\" or \"bottom\" color of the gradient." |
4194 | +msgstr "Задайте \"десен\" или \"долен\" цвят на градиента." |
4195 | |
4196 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:21 |
4197 | msgid "Select Second Color" |
4198 | @@ -260,8 +258,8 @@ |
4199 | msgstr "Автоматично избиране на друг фон от текущата директория." |
4200 | |
4201 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:25 |
4202 | -msgid "Specify how often the background will change" |
4203 | -msgstr "Задайте, колко често да се сменя фона на Работният плот" |
4204 | +msgid "Specify how often the background will change." |
4205 | +msgstr "Задайте, колко често да се сменя фона." |
4206 | |
4207 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:26 |
4208 | msgid "in seconds:" |
4209 | @@ -337,7 +335,7 @@ |
4210 | msgid "File/launcher icons" |
4211 | msgstr "Икони на файл/стартери" |
4212 | |
4213 | -#: ../settings/xfdesktop-settings-ui.glade.h:10 ../src/xfce-desktop.c:1010 |
4214 | +#: ../settings/xfdesktop-settings-ui.glade.h:10 ../src/xfce-desktop.c:1015 |
4215 | msgid "Desktop" |
4216 | msgstr "Работен плот" |
4217 | |
4218 | @@ -516,250 +514,249 @@ |
4219 | msgid "_Remove Workspace '%s'" |
4220 | msgstr "_Премахване на работно място '%s'" |
4221 | |
4222 | -#: ../src/xfdesktop-application.c:772 |
4223 | +#: ../src/xfdesktop-application.c:768 |
4224 | msgid "Display version information" |
4225 | msgstr "Покажи информация за версията" |
4226 | |
4227 | -#: ../src/xfdesktop-application.c:773 |
4228 | +#: ../src/xfdesktop-application.c:769 |
4229 | msgid "Reload all settings" |
4230 | msgstr "Презареждане на всички настройки" |
4231 | |
4232 | -#: ../src/xfdesktop-application.c:774 |
4233 | +#: ../src/xfdesktop-application.c:770 |
4234 | msgid "Pop up the menu (at the current mouse position)" |
4235 | msgstr "Покажи изскачащо меню (в текущата позиция на мишката)" |
4236 | |
4237 | -#: ../src/xfdesktop-application.c:775 |
4238 | +#: ../src/xfdesktop-application.c:771 |
4239 | msgid "Pop up the window list (at the current mouse position)" |
4240 | msgstr "Покажи списъка с прозорци (в текущата позиция на мишката)" |
4241 | |
4242 | -#: ../src/xfdesktop-application.c:777 |
4243 | +#: ../src/xfdesktop-application.c:773 |
4244 | msgid "Automatically arrange all the icons on the desktop" |
4245 | msgstr "Автоматично подреждане на иконите върху десктопа" |
4246 | |
4247 | -#: ../src/xfdesktop-application.c:779 |
4248 | +#: ../src/xfdesktop-application.c:775 |
4249 | msgid "Do not wait for a window manager on startup" |
4250 | msgstr "Не чакайте мениджъра на прозорците да стартира" |
4251 | |
4252 | -#: ../src/xfdesktop-application.c:780 |
4253 | +#: ../src/xfdesktop-application.c:776 |
4254 | msgid "Cause xfdesktop to quit" |
4255 | msgstr "Причина за изключване на xfdesktop " |
4256 | |
4257 | -#: ../src/xfdesktop-application.c:795 |
4258 | +#: ../src/xfdesktop-application.c:791 |
4259 | #, c-format |
4260 | msgid "Failed to parse arguments: %s\n" |
4261 | msgstr "Грешка при анализ на аргументите: %s\n" |
4262 | |
4263 | -#: ../src/xfdesktop-application.c:806 |
4264 | +#: ../src/xfdesktop-application.c:802 |
4265 | #, c-format |
4266 | msgid "This is %s version %s, running on Xfce %s.\n" |
4267 | msgstr "Това е %s версия %s, работеща на Xfce %s.\n" |
4268 | |
4269 | -#: ../src/xfdesktop-application.c:808 |
4270 | +#: ../src/xfdesktop-application.c:804 |
4271 | #, c-format |
4272 | msgid "Built with GTK+ %d.%d.%d, linked with GTK+ %d.%d.%d." |
4273 | msgstr "Създаден с GTK+ %d.%d.%d, свързан с GTK+ %d.%d.%d." |
4274 | |
4275 | -#: ../src/xfdesktop-application.c:812 |
4276 | +#: ../src/xfdesktop-application.c:808 |
4277 | #, c-format |
4278 | msgid "Build options:\n" |
4279 | msgstr "Опции за изграждане:\n" |
4280 | |
4281 | -#: ../src/xfdesktop-application.c:813 |
4282 | +#: ../src/xfdesktop-application.c:809 |
4283 | #, c-format |
4284 | msgid " Desktop Menu: %s\n" |
4285 | msgstr "Меню на Работният плот: %s\n" |
4286 | |
4287 | -#: ../src/xfdesktop-application.c:815 ../src/xfdesktop-application.c:822 |
4288 | -#: ../src/xfdesktop-application.c:829 |
4289 | +#: ../src/xfdesktop-application.c:811 ../src/xfdesktop-application.c:818 |
4290 | +#: ../src/xfdesktop-application.c:825 |
4291 | msgid "enabled" |
4292 | msgstr "включено" |
4293 | |
4294 | -#: ../src/xfdesktop-application.c:817 ../src/xfdesktop-application.c:824 |
4295 | -#: ../src/xfdesktop-application.c:831 |
4296 | +#: ../src/xfdesktop-application.c:813 ../src/xfdesktop-application.c:820 |
4297 | +#: ../src/xfdesktop-application.c:827 |
4298 | msgid "disabled" |
4299 | msgstr "изключено" |
4300 | |
4301 | -#: ../src/xfdesktop-application.c:820 |
4302 | +#: ../src/xfdesktop-application.c:816 |
4303 | #, c-format |
4304 | msgid " Desktop Icons: %s\n" |
4305 | msgstr "Икони на Работният плот: %s\n" |
4306 | |
4307 | -#: ../src/xfdesktop-application.c:827 |
4308 | +#: ../src/xfdesktop-application.c:823 |
4309 | #, c-format |
4310 | msgid " Desktop File Icons: %s\n" |
4311 | msgstr "Файлове с икони на Работният плот: %s\n" |
4312 | |
4313 | -#: ../src/xfdesktop-file-icon-manager.c:578 |
4314 | -#: ../src/xfdesktop-file-icon-manager.c:595 |
4315 | +#: ../src/xfdesktop-file-icon-manager.c:522 |
4316 | +#: ../src/xfdesktop-file-icon-manager.c:539 |
4317 | #, c-format |
4318 | msgid "Could not create the desktop folder \"%s\"" |
4319 | msgstr "Не може да се създаде десктоп директорията \"%s\"" |
4320 | |
4321 | -#: ../src/xfdesktop-file-icon-manager.c:583 |
4322 | -#: ../src/xfdesktop-file-icon-manager.c:600 |
4323 | +#: ../src/xfdesktop-file-icon-manager.c:527 |
4324 | +#: ../src/xfdesktop-file-icon-manager.c:544 |
4325 | msgid "Desktop Folder Error" |
4326 | msgstr "Грешка в десктоп директория" |
4327 | |
4328 | -#: ../src/xfdesktop-file-icon-manager.c:602 |
4329 | +#: ../src/xfdesktop-file-icon-manager.c:546 |
4330 | msgid "" |
4331 | "A normal file with the same name already exists. Please delete or rename it." |
4332 | msgstr "Нормален файл със същото име вече съществува. Моля, изтрийте или го преименувате." |
4333 | |
4334 | -#: ../src/xfdesktop-file-icon-manager.c:685 ../src/xfdesktop-file-utils.c:716 |
4335 | -#: ../src/xfdesktop-file-utils.c:769 |
4336 | +#: ../src/xfdesktop-file-icon-manager.c:629 ../src/xfdesktop-file-utils.c:723 |
4337 | +#: ../src/xfdesktop-file-utils.c:776 |
4338 | msgid "Rename Error" |
4339 | msgstr "Грешка при преименуване" |
4340 | |
4341 | -#: ../src/xfdesktop-file-icon-manager.c:686 ../src/xfdesktop-file-utils.c:770 |
4342 | +#: ../src/xfdesktop-file-icon-manager.c:630 ../src/xfdesktop-file-utils.c:777 |
4343 | msgid "The files could not be renamed" |
4344 | msgstr "Файловете не могат да бъдат преименувани" |
4345 | |
4346 | -#: ../src/xfdesktop-file-icon-manager.c:687 |
4347 | +#: ../src/xfdesktop-file-icon-manager.c:631 |
4348 | msgid "None of the icons selected support being renamed." |
4349 | msgstr "Нито една от избраните икони не може да бъде преименувана." |
4350 | |
4351 | -#: ../src/xfdesktop-file-icon-manager.c:731 |
4352 | -#: ../src/xfdesktop-file-icon-manager.c:775 ../src/xfdesktop-file-utils.c:869 |
4353 | -#: ../src/xfdesktop-file-utils.c:906 |
4354 | +#: ../src/xfdesktop-file-icon-manager.c:675 |
4355 | +#: ../src/xfdesktop-file-icon-manager.c:719 ../src/xfdesktop-file-utils.c:876 |
4356 | +#: ../src/xfdesktop-file-utils.c:913 |
4357 | msgid "Trash Error" |
4358 | msgstr "Грешка в Кошчето" |
4359 | |
4360 | -#: ../src/xfdesktop-file-icon-manager.c:732 |
4361 | -#: ../src/xfdesktop-file-icon-manager.c:776 |
4362 | +#: ../src/xfdesktop-file-icon-manager.c:676 |
4363 | +#: ../src/xfdesktop-file-icon-manager.c:720 |
4364 | msgid "The selected files could not be trashed" |
4365 | msgstr "Избраните файлове не могат да бъдат преместени в кошчето" |
4366 | |
4367 | -#: ../src/xfdesktop-file-icon-manager.c:733 |
4368 | -#: ../src/xfdesktop-file-icon-manager.c:777 ../src/xfdesktop-file-utils.c:718 |
4369 | -#: ../src/xfdesktop-file-utils.c:771 ../src/xfdesktop-file-utils.c:821 |
4370 | -#: ../src/xfdesktop-file-utils.c:952 ../src/xfdesktop-file-utils.c:999 |
4371 | -#: ../src/xfdesktop-file-utils.c:1040 ../src/xfdesktop-file-utils.c:1081 |
4372 | -#: ../src/xfdesktop-file-utils.c:1183 ../src/xfdesktop-file-utils.c:1235 |
4373 | -#: ../src/xfdesktop-file-utils.c:1308 ../src/xfdesktop-file-utils.c:1386 |
4374 | +#: ../src/xfdesktop-file-icon-manager.c:677 |
4375 | +#: ../src/xfdesktop-file-icon-manager.c:721 ../src/xfdesktop-file-utils.c:725 |
4376 | +#: ../src/xfdesktop-file-utils.c:778 ../src/xfdesktop-file-utils.c:828 |
4377 | +#: ../src/xfdesktop-file-utils.c:959 ../src/xfdesktop-file-utils.c:1006 |
4378 | +#: ../src/xfdesktop-file-utils.c:1047 ../src/xfdesktop-file-utils.c:1088 |
4379 | +#: ../src/xfdesktop-file-utils.c:1190 ../src/xfdesktop-file-utils.c:1242 |
4380 | +#: ../src/xfdesktop-file-utils.c:1315 ../src/xfdesktop-file-utils.c:1393 |
4381 | msgid "" |
4382 | "This feature requires a file manager service to be present (such as the one " |
4383 | "supplied by Thunar)." |
4384 | msgstr "Тази функция изисква присъствието на файлов мениджър (като тази, предоставена от Thunar)." |
4385 | |
4386 | #. printf is to be translator-friendly |
4387 | -#: ../src/xfdesktop-file-icon-manager.c:877 |
4388 | -#: ../src/xfdesktop-file-icon-manager.c:1335 |
4389 | +#: ../src/xfdesktop-file-icon-manager.c:821 |
4390 | +#: ../src/xfdesktop-file-icon-manager.c:1279 |
4391 | #, c-format |
4392 | msgid "Unable to launch \"%s\":" |
4393 | msgstr "Не може да стартира \"%s\":" |
4394 | |
4395 | -#: ../src/xfdesktop-file-icon-manager.c:879 |
4396 | -#: ../src/xfdesktop-file-icon-manager.c:1140 |
4397 | -#: ../src/xfdesktop-file-icon-manager.c:1336 ../src/xfdesktop-file-utils.c:657 |
4398 | -#: ../src/xfdesktop-file-utils.c:1079 ../src/xfdesktop-file-utils.c:1156 |
4399 | -#: ../src/xfdesktop-file-utils.c:1181 ../src/xfdesktop-file-utils.c:1233 |
4400 | +#: ../src/xfdesktop-file-icon-manager.c:823 |
4401 | +#: ../src/xfdesktop-file-icon-manager.c:1084 |
4402 | +#: ../src/xfdesktop-file-icon-manager.c:1280 ../src/xfdesktop-file-utils.c:664 |
4403 | +#: ../src/xfdesktop-file-utils.c:1086 ../src/xfdesktop-file-utils.c:1163 |
4404 | +#: ../src/xfdesktop-file-utils.c:1188 ../src/xfdesktop-file-utils.c:1240 |
4405 | msgid "Launch Error" |
4406 | msgstr "Грешка при стартиране" |
4407 | |
4408 | -#: ../src/xfdesktop-file-icon-manager.c:1064 |
4409 | +#: ../src/xfdesktop-file-icon-manager.c:1008 |
4410 | #, c-format |
4411 | msgid "_Open With \"%s\"" |
4412 | msgstr "_Отваряне с \"%s\"" |
4413 | |
4414 | -#: ../src/xfdesktop-file-icon-manager.c:1067 |
4415 | +#: ../src/xfdesktop-file-icon-manager.c:1011 |
4416 | #, c-format |
4417 | msgid "Open With \"%s\"" |
4418 | msgstr "Отваряне с \"%s\"" |
4419 | |
4420 | -#: ../src/xfdesktop-file-icon-manager.c:1142 |
4421 | +#: ../src/xfdesktop-file-icon-manager.c:1086 |
4422 | msgid "" |
4423 | "Unable to launch \"exo-desktop-item-edit\", which is required to create and " |
4424 | "edit launchers and links on the desktop." |
4425 | msgstr "Не може да се стартира \"exo-desktop-item-edit\", който е необходим за създаване и редактиране на стартери и връзките на работния плот." |
4426 | |
4427 | -#: ../src/xfdesktop-file-icon-manager.c:1393 |
4428 | +#: ../src/xfdesktop-file-icon-manager.c:1337 |
4429 | msgid "_Open all" |
4430 | msgstr "_Отваряне на всички" |
4431 | |
4432 | -#: ../src/xfdesktop-file-icon-manager.c:1409 |
4433 | +#: ../src/xfdesktop-file-icon-manager.c:1353 |
4434 | msgid "_Open in New Window" |
4435 | msgstr "_Отваряне в нов прозорец" |
4436 | |
4437 | -#: ../src/xfdesktop-file-icon-manager.c:1411 |
4438 | -#: ../src/xfdesktop-special-file-icon.c:547 ../src/xfdesktop-volume-icon.c:810 |
4439 | -#: ../src/xfdesktop-volume-icon.c:814 |
4440 | +#: ../src/xfdesktop-file-icon-manager.c:1355 |
4441 | +#: ../src/xfdesktop-special-file-icon.c:547 ../src/xfdesktop-volume-icon.c:813 |
4442 | msgid "_Open" |
4443 | msgstr "_Отваряне" |
4444 | |
4445 | #. create launcher item |
4446 | -#: ../src/xfdesktop-file-icon-manager.c:1430 |
4447 | +#: ../src/xfdesktop-file-icon-manager.c:1374 |
4448 | msgid "Create _Launcher..." |
4449 | msgstr "Създаване на _стартер..." |
4450 | |
4451 | #. create link item |
4452 | -#: ../src/xfdesktop-file-icon-manager.c:1446 |
4453 | +#: ../src/xfdesktop-file-icon-manager.c:1390 |
4454 | msgid "Create _URL Link..." |
4455 | msgstr "Създаване на _интернет връзка..." |
4456 | |
4457 | #. create folder item |
4458 | -#: ../src/xfdesktop-file-icon-manager.c:1462 |
4459 | +#: ../src/xfdesktop-file-icon-manager.c:1406 |
4460 | msgid "Create _Folder..." |
4461 | msgstr "Създаване на _папка..." |
4462 | |
4463 | -#: ../src/xfdesktop-file-icon-manager.c:1477 |
4464 | +#: ../src/xfdesktop-file-icon-manager.c:1421 |
4465 | msgid "Create From _Template" |
4466 | msgstr "Създаване от _шаблон" |
4467 | |
4468 | -#: ../src/xfdesktop-file-icon-manager.c:1506 |
4469 | +#: ../src/xfdesktop-file-icon-manager.c:1450 |
4470 | msgid "_Empty File" |
4471 | msgstr "_Празен файл" |
4472 | |
4473 | -#: ../src/xfdesktop-file-icon-manager.c:1523 |
4474 | +#: ../src/xfdesktop-file-icon-manager.c:1467 |
4475 | msgid "_Execute" |
4476 | msgstr "_Изпълнение" |
4477 | |
4478 | -#: ../src/xfdesktop-file-icon-manager.c:1543 |
4479 | +#: ../src/xfdesktop-file-icon-manager.c:1487 |
4480 | msgid "_Edit Launcher" |
4481 | msgstr "_Редактиране на стартер" |
4482 | |
4483 | -#: ../src/xfdesktop-file-icon-manager.c:1578 |
4484 | +#: ../src/xfdesktop-file-icon-manager.c:1522 |
4485 | msgid "Open With" |
4486 | msgstr "Отваряне с" |
4487 | |
4488 | -#: ../src/xfdesktop-file-icon-manager.c:1604 |
4489 | +#: ../src/xfdesktop-file-icon-manager.c:1548 |
4490 | msgid "Open With Other _Application..." |
4491 | msgstr "Отваряне с друга _програма..." |
4492 | |
4493 | #. Rename |
4494 | -#: ../src/xfdesktop-file-icon-manager.c:1704 |
4495 | +#: ../src/xfdesktop-file-icon-manager.c:1651 |
4496 | msgid "_Rename..." |
4497 | msgstr "_Преименуване..." |
4498 | |
4499 | -#: ../src/xfdesktop-file-icon-manager.c:1732 |
4500 | +#: ../src/xfdesktop-file-icon-manager.c:1679 |
4501 | msgid "Arrange Desktop _Icons" |
4502 | msgstr "Подреждане на иконите върху Работният плот" |
4503 | |
4504 | -#: ../src/xfdesktop-file-icon-manager.c:1743 |
4505 | +#: ../src/xfdesktop-file-icon-manager.c:1690 |
4506 | msgid "Desktop _Settings..." |
4507 | msgstr "Настройки на Работният плот..." |
4508 | |
4509 | -#: ../src/xfdesktop-file-icon-manager.c:1754 |
4510 | -#: ../src/xfdesktop-volume-icon.c:856 |
4511 | +#: ../src/xfdesktop-file-icon-manager.c:1701 |
4512 | +#: ../src/xfdesktop-volume-icon.c:855 |
4513 | msgid "P_roperties..." |
4514 | msgstr "_Свойства..." |
4515 | |
4516 | -#: ../src/xfdesktop-file-icon-manager.c:2744 |
4517 | +#: ../src/xfdesktop-file-icon-manager.c:2716 |
4518 | msgid "Load Error" |
4519 | msgstr "Грешка при зареждане" |
4520 | |
4521 | -#: ../src/xfdesktop-file-icon-manager.c:2746 |
4522 | +#: ../src/xfdesktop-file-icon-manager.c:2718 |
4523 | msgid "Failed to load the desktop folder" |
4524 | msgstr "Проблем при зареждането на десктоп папка" |
4525 | |
4526 | -#: ../src/xfdesktop-file-icon-manager.c:3286 |
4527 | +#: ../src/xfdesktop-file-icon-manager.c:3262 |
4528 | msgid "Copy _Here" |
4529 | msgstr "Копиране тук" |
4530 | |
4531 | -#: ../src/xfdesktop-file-icon-manager.c:3286 |
4532 | +#: ../src/xfdesktop-file-icon-manager.c:3262 |
4533 | msgid "_Move Here" |
4534 | msgstr "Преместване тук" |
4535 | |
4536 | -#: ../src/xfdesktop-file-icon-manager.c:3286 |
4537 | +#: ../src/xfdesktop-file-icon-manager.c:3262 |
4538 | msgid "_Link Here" |
4539 | msgstr "Връзка тук" |
4540 | |
4541 | @@ -792,88 +789,88 @@ |
4542 | msgid "Unknown" |
4543 | msgstr "Неизвестен" |
4544 | |
4545 | -#: ../src/xfdesktop-file-utils.c:658 |
4546 | +#: ../src/xfdesktop-file-utils.c:665 |
4547 | msgid "The folder could not be opened" |
4548 | msgstr "Папката не може да бъде отворена" |
4549 | |
4550 | -#: ../src/xfdesktop-file-utils.c:675 |
4551 | +#: ../src/xfdesktop-file-utils.c:682 |
4552 | msgid "Error" |
4553 | msgstr "Грешка" |
4554 | |
4555 | -#: ../src/xfdesktop-file-utils.c:676 |
4556 | +#: ../src/xfdesktop-file-utils.c:683 |
4557 | msgid "The requested operation could not be completed" |
4558 | msgstr "Заявената операция не може да бъде завършена" |
4559 | |
4560 | -#: ../src/xfdesktop-file-utils.c:717 |
4561 | +#: ../src/xfdesktop-file-utils.c:724 |
4562 | msgid "The file could not be renamed" |
4563 | msgstr "Файлът не може да бъде преименуван" |
4564 | |
4565 | -#: ../src/xfdesktop-file-utils.c:819 |
4566 | +#: ../src/xfdesktop-file-utils.c:826 |
4567 | msgid "Delete Error" |
4568 | msgstr "Грешка при изтриване" |
4569 | |
4570 | -#: ../src/xfdesktop-file-utils.c:820 |
4571 | +#: ../src/xfdesktop-file-utils.c:827 |
4572 | msgid "The selected files could not be deleted" |
4573 | msgstr "Избраните файлове не могат да бъдат изтрити" |
4574 | |
4575 | -#: ../src/xfdesktop-file-utils.c:870 |
4576 | +#: ../src/xfdesktop-file-utils.c:877 |
4577 | msgid "The selected files could not be moved to the trash" |
4578 | msgstr "Избраните файлове не могат да бъдат преместени в кошчето" |
4579 | |
4580 | -#: ../src/xfdesktop-file-utils.c:871 ../src/xfdesktop-file-utils.c:908 |
4581 | +#: ../src/xfdesktop-file-utils.c:878 ../src/xfdesktop-file-utils.c:915 |
4582 | msgid "" |
4583 | "This feature requires a trash service to be present (such as the one " |
4584 | "supplied by Thunar)." |
4585 | msgstr "Тази функция изисква да присъства trash service (като тази, предоставена от Thunar)." |
4586 | |
4587 | -#: ../src/xfdesktop-file-utils.c:907 |
4588 | +#: ../src/xfdesktop-file-utils.c:914 |
4589 | msgid "Could not empty the trash" |
4590 | msgstr "Не може да бъде изпразнено кошчето" |
4591 | |
4592 | -#: ../src/xfdesktop-file-utils.c:950 |
4593 | +#: ../src/xfdesktop-file-utils.c:957 |
4594 | msgid "Create File Error" |
4595 | msgstr "Грешка при създаване на файл" |
4596 | |
4597 | -#: ../src/xfdesktop-file-utils.c:951 |
4598 | +#: ../src/xfdesktop-file-utils.c:958 |
4599 | msgid "Could not create a new file" |
4600 | msgstr "Не може да се създаде нов файл" |
4601 | |
4602 | -#: ../src/xfdesktop-file-utils.c:997 |
4603 | +#: ../src/xfdesktop-file-utils.c:1004 |
4604 | msgid "Create Document Error" |
4605 | msgstr "Грешка при създаване на документ" |
4606 | |
4607 | -#: ../src/xfdesktop-file-utils.c:998 |
4608 | +#: ../src/xfdesktop-file-utils.c:1005 |
4609 | msgid "Could not create a new document from the template" |
4610 | msgstr "Не може да се създаде нов документ от шаблон" |
4611 | |
4612 | -#: ../src/xfdesktop-file-utils.c:1038 |
4613 | +#: ../src/xfdesktop-file-utils.c:1045 |
4614 | msgid "File Properties Error" |
4615 | msgstr "Грешка в свойствата на файл" |
4616 | |
4617 | -#: ../src/xfdesktop-file-utils.c:1039 |
4618 | +#: ../src/xfdesktop-file-utils.c:1046 |
4619 | msgid "The file properties dialog could not be opened" |
4620 | msgstr "Не може да се отвори диалога за свойствата на файла" |
4621 | |
4622 | -#: ../src/xfdesktop-file-utils.c:1080 |
4623 | +#: ../src/xfdesktop-file-utils.c:1087 |
4624 | msgid "The file could not be opened" |
4625 | msgstr "Файлът не може да бъде отворен" |
4626 | |
4627 | -#: ../src/xfdesktop-file-utils.c:1153 ../src/xfdesktop-file-utils.c:1178 |
4628 | +#: ../src/xfdesktop-file-utils.c:1160 ../src/xfdesktop-file-utils.c:1185 |
4629 | #, c-format |
4630 | msgid "Failed to run \"%s\"" |
4631 | msgstr "Неуспех при стартиране на \"%s\"" |
4632 | |
4633 | -#: ../src/xfdesktop-file-utils.c:1234 |
4634 | +#: ../src/xfdesktop-file-utils.c:1241 |
4635 | msgid "The application chooser could not be opened" |
4636 | msgstr "Изборът на програми не може да стартира" |
4637 | |
4638 | -#: ../src/xfdesktop-file-utils.c:1292 ../src/xfdesktop-file-utils.c:1306 |
4639 | -#: ../src/xfdesktop-file-utils.c:1368 ../src/xfdesktop-file-utils.c:1384 |
4640 | +#: ../src/xfdesktop-file-utils.c:1299 ../src/xfdesktop-file-utils.c:1313 |
4641 | +#: ../src/xfdesktop-file-utils.c:1375 ../src/xfdesktop-file-utils.c:1391 |
4642 | msgid "Transfer Error" |
4643 | msgstr "Грешка при пренасяне" |
4644 | |
4645 | -#: ../src/xfdesktop-file-utils.c:1293 ../src/xfdesktop-file-utils.c:1307 |
4646 | -#: ../src/xfdesktop-file-utils.c:1369 ../src/xfdesktop-file-utils.c:1385 |
4647 | +#: ../src/xfdesktop-file-utils.c:1300 ../src/xfdesktop-file-utils.c:1314 |
4648 | +#: ../src/xfdesktop-file-utils.c:1376 ../src/xfdesktop-file-utils.c:1392 |
4649 | msgid "The file transfer could not be performed" |
4650 | msgstr "Пренасянето на файлове не може да бъде изпълнено" |
4651 | |
4652 | @@ -997,15 +994,15 @@ |
4653 | msgid "Mount Failed" |
4654 | msgstr "Монтирането е неуспешно" |
4655 | |
4656 | -#: ../src/xfdesktop-volume-icon.c:829 |
4657 | +#: ../src/xfdesktop-volume-icon.c:828 |
4658 | msgid "E_ject Volume" |
4659 | msgstr "Изваждане на устройството" |
4660 | |
4661 | -#: ../src/xfdesktop-volume-icon.c:836 |
4662 | +#: ../src/xfdesktop-volume-icon.c:835 |
4663 | msgid "_Unmount Volume" |
4664 | msgstr "_Демонтиране на устройството" |
4665 | |
4666 | -#: ../src/xfdesktop-volume-icon.c:843 |
4667 | +#: ../src/xfdesktop-volume-icon.c:842 |
4668 | msgid "_Mount Volume" |
4669 | msgstr "_Монтиране на устройството" |
4670 | |
4671 | |
4672 | === modified file 'po/da.po' |
4673 | --- po/da.po 2014-01-14 11:47:53 +0000 |
4674 | +++ po/da.po 2014-03-19 05:52:10 +0000 |
4675 | @@ -6,14 +6,14 @@ |
4676 | # Aputsiaĸ Niels Janussen <aj@isit.gl>, 2013 |
4677 | # cedeel <chris@cedeel.com>, 2013 |
4678 | # Jesper Berth <bigsanta@berthit.dk>, 2005 |
4679 | -# Per Kongstad <p_kongstad@op.pl>, 2009 |
4680 | +# pkon <p_kongstad@op.pl>, 2009,2014 |
4681 | msgid "" |
4682 | msgstr "" |
4683 | "Project-Id-Version: Xfdesktop\n" |
4684 | "Report-Msgid-Bugs-To: \n" |
4685 | -"POT-Creation-Date: 2013-11-15 00:31+0100\n" |
4686 | -"PO-Revision-Date: 2013-11-18 16:57+0000\n" |
4687 | -"Last-Translator: cedeel <chris@cedeel.com>\n" |
4688 | +"POT-Creation-Date: 2014-02-24 12:32+0100\n" |
4689 | +"PO-Revision-Date: 2014-03-17 20:35+0000\n" |
4690 | +"Last-Translator: pkon <p_kongstad@op.pl>\n" |
4691 | "Language-Team: Danish (http://www.transifex.com/projects/p/xfce/language/da/)\n" |
4692 | "MIME-Version: 1.0\n" |
4693 | "Content-Type: text/plain; charset=UTF-8\n" |
4694 | @@ -21,37 +21,37 @@ |
4695 | "Language: da\n" |
4696 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" |
4697 | |
4698 | -#: ../settings/main.c:371 ../src/xfdesktop-special-file-icon.c:295 |
4699 | +#: ../settings/main.c:375 ../src/xfdesktop-special-file-icon.c:295 |
4700 | #: ../src/xfdesktop-special-file-icon.c:479 |
4701 | msgid "Home" |
4702 | msgstr "Hjem" |
4703 | |
4704 | -#: ../settings/main.c:373 |
4705 | +#: ../settings/main.c:377 |
4706 | msgid "Filesystem" |
4707 | msgstr "Filsystem" |
4708 | |
4709 | -#: ../settings/main.c:375 |
4710 | +#: ../settings/main.c:379 |
4711 | msgid "Trash" |
4712 | msgstr "Papirkurv" |
4713 | |
4714 | -#: ../settings/main.c:377 |
4715 | +#: ../settings/main.c:381 |
4716 | msgid "Removable Devices" |
4717 | msgstr "Fjernbare enheder" |
4718 | |
4719 | -#: ../settings/main.c:379 |
4720 | +#: ../settings/main.c:383 |
4721 | msgid "Network Shares" |
4722 | msgstr "Netværksdrev" |
4723 | |
4724 | -#: ../settings/main.c:381 |
4725 | +#: ../settings/main.c:385 |
4726 | msgid "Disks and Drives" |
4727 | msgstr "Diske og drev" |
4728 | |
4729 | -#: ../settings/main.c:383 |
4730 | -msgid "Other Items" |
4731 | -msgstr "Andre elementer" |
4732 | +#: ../settings/main.c:387 |
4733 | +msgid "Other Devices" |
4734 | +msgstr "Andre enheder" |
4735 | |
4736 | #. Display the file name, file type, and file size in the tooltip. |
4737 | -#: ../settings/main.c:496 |
4738 | +#: ../settings/main.c:500 |
4739 | #, c-format |
4740 | msgid "" |
4741 | "<b>%s</b>\n" |
4742 | @@ -59,97 +59,95 @@ |
4743 | "Size: %s" |
4744 | msgstr "<b>%s</b>\nType: %s\nStørrelse: %s" |
4745 | |
4746 | -#: ../settings/main.c:680 |
4747 | +#: ../settings/main.c:686 |
4748 | #, c-format |
4749 | msgid "Wallpaper for Monitor %d (%s)" |
4750 | msgstr "Baggrundstapet for skærmen %d (%s)" |
4751 | |
4752 | -#: ../settings/main.c:683 |
4753 | +#: ../settings/main.c:689 |
4754 | #, c-format |
4755 | msgid "Wallpaper for Monitor %d" |
4756 | msgstr "Baggrundstapet for skærmen %d" |
4757 | |
4758 | -#: ../settings/main.c:689 |
4759 | -msgid "" |
4760 | -"You are using more than one display, move this dialog to the display you " |
4761 | -"want to edit the settings for." |
4762 | -msgstr "Du benytter mere end en skærm, flyt dette vindue til den skærm du ønsker at ændre indstillingerne for." |
4763 | +#: ../settings/main.c:695 |
4764 | +msgid "Move this dialog to the display you want to edit the settings for." |
4765 | +msgstr "Flyt dette vindue til skærmen som du ønsker at ændre indstillingerne for." |
4766 | |
4767 | -#: ../settings/main.c:697 |
4768 | +#: ../settings/main.c:702 |
4769 | #, c-format |
4770 | msgid "Wallpaper for %s on Monitor %d (%s)" |
4771 | msgstr "Baggrundstapet for %s på skærmen %d (%s)" |
4772 | |
4773 | -#: ../settings/main.c:701 |
4774 | +#: ../settings/main.c:706 |
4775 | #, c-format |
4776 | msgid "Wallpaper for %s on Monitor %d" |
4777 | msgstr "Baggrundstapet for %s på skærmen %d" |
4778 | |
4779 | -#: ../settings/main.c:708 |
4780 | +#: ../settings/main.c:713 |
4781 | msgid "" |
4782 | -"You are using more than one display, move this dialog to the display and " |
4783 | -"workspace you want to edit the settings for." |
4784 | -msgstr "Du benytter mere end en skærm, flyt dette vindue til den skærm og det arbejdsområde du ønsker at ændre indstillingerne for." |
4785 | +"Move this dialog to the display and workspace you want to edit the settings " |
4786 | +"for." |
4787 | +msgstr "" |
4788 | |
4789 | #. Single monitor and single workspace |
4790 | -#: ../settings/main.c:716 |
4791 | +#: ../settings/main.c:720 |
4792 | #, c-format |
4793 | msgid "Wallpaper for my desktop" |
4794 | msgstr "Baggrundstapet for mit skrivebord" |
4795 | |
4796 | #. Single monitor and per workspace wallpaper |
4797 | -#: ../settings/main.c:722 |
4798 | +#: ../settings/main.c:726 |
4799 | #, c-format |
4800 | msgid "Wallpaper for %s" |
4801 | msgstr "Baggrundstapet for %s" |
4802 | |
4803 | -#: ../settings/main.c:727 |
4804 | +#: ../settings/main.c:731 |
4805 | msgid "Move this dialog to the workspace you want to edit the settings for." |
4806 | msgstr "Flyt dette vindue til det arbejdsområde du ønsker at ændre indstillingerne for." |
4807 | |
4808 | -#: ../settings/main.c:1130 |
4809 | +#: ../settings/main.c:1134 |
4810 | msgid "Image selection is unavailable while the image style is set to None." |
4811 | msgstr "Billedmarkering er ikke tilgængelig, så længe billedstilen ikke er angivet." |
4812 | |
4813 | -#: ../settings/main.c:1482 |
4814 | +#: ../settings/main.c:1481 |
4815 | msgid "Spanning screens" |
4816 | msgstr "På tværs af skærme" |
4817 | |
4818 | -#: ../settings/main.c:1787 |
4819 | +#: ../settings/main.c:1786 |
4820 | msgid "Image files" |
4821 | msgstr "Billedfiler" |
4822 | |
4823 | -#: ../settings/main.c:1939 |
4824 | +#: ../settings/main.c:1958 |
4825 | msgid "Settings manager socket" |
4826 | msgstr "Sokkel for indstillingshåndtering" |
4827 | |
4828 | -#: ../settings/main.c:1939 |
4829 | +#: ../settings/main.c:1958 |
4830 | msgid "SOCKET ID" |
4831 | msgstr "SOKKEL-ID" |
4832 | |
4833 | -#: ../settings/main.c:1940 |
4834 | +#: ../settings/main.c:1959 |
4835 | msgid "Version information" |
4836 | msgstr "Versionsinformation" |
4837 | |
4838 | -#: ../settings/main.c:1967 |
4839 | +#: ../settings/main.c:1986 |
4840 | #, c-format |
4841 | msgid "Type '%s --help' for usage." |
4842 | msgstr "Tast '%s --help' for brug." |
4843 | |
4844 | -#: ../settings/main.c:1979 |
4845 | +#: ../settings/main.c:1998 |
4846 | msgid "The Xfce development team. All rights reserved." |
4847 | msgstr "Xfce-udviklingsholdet. Alle rettigheder forbeholdes." |
4848 | |
4849 | -#: ../settings/main.c:1980 |
4850 | +#: ../settings/main.c:1999 |
4851 | #, c-format |
4852 | msgid "Please report bugs to <%s>." |
4853 | msgstr "Rapportér venligst fejl til <%s>." |
4854 | |
4855 | -#: ../settings/main.c:1987 |
4856 | +#: ../settings/main.c:2006 |
4857 | msgid "Desktop Settings" |
4858 | msgstr "Skrivebordsindstillinger" |
4859 | |
4860 | -#: ../settings/main.c:1989 |
4861 | +#: ../settings/main.c:2008 |
4862 | msgid "Unable to contact settings server" |
4863 | msgstr "Kunne ikke forbinde til indstilllingsserver" |
4864 | |
4865 | @@ -182,16 +180,16 @@ |
4866 | msgstr "_Mappe:" |
4867 | |
4868 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:6 |
4869 | -msgid "Choose the folder to select wallpapers from" |
4870 | -msgstr "Vælg mappen som der vælges baggrundstapeter fra" |
4871 | +msgid "Choose the folder to select wallpapers from." |
4872 | +msgstr "Vælg mappen at vælge skærmbaggrunde fra" |
4873 | |
4874 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:7 |
4875 | msgid "St_yle:" |
4876 | msgstr "S_til:" |
4877 | |
4878 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:8 |
4879 | -msgid "Specify how the image will be resized to fit the screen" |
4880 | -msgstr "Angiv, hvordan billede vil blive tilpasset til at passe til skærmen" |
4881 | +msgid "Specify how the image will be resized to fit the screen." |
4882 | +msgstr "" |
4883 | |
4884 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:9 |
4885 | #: ../settings/xfdesktop-settings-ui.glade.h:4 |
4886 | @@ -227,20 +225,20 @@ |
4887 | msgstr "_Farve:" |
4888 | |
4889 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:17 |
4890 | -msgid "Specify the style of the color drawn behind the backdrop image" |
4891 | -msgstr "Angiv stilen til farven bag baggrundbillede" |
4892 | +msgid "Specify the style of the color drawn behind the backdrop image." |
4893 | +msgstr "" |
4894 | |
4895 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:18 |
4896 | -msgid "Specifies the solid color, or the \"left\" or \"top\" color of the gradient" |
4897 | -msgstr "Angiver den ensartede farve, eller \"venstre\" eller \"'top\" af farveaftagningen" |
4898 | +msgid "Specifies the solid color, or the \"left\" or \"top\" color of the gradient." |
4899 | +msgstr "" |
4900 | |
4901 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:19 |
4902 | msgid "Select First Color" |
4903 | msgstr "Vælg første farve" |
4904 | |
4905 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:20 |
4906 | -msgid "Specifies the \"right\" or \"bottom\" color of the gradient" |
4907 | -msgstr "Angiver den \"højre\" eller \"'bund\" af farveaftagningen" |
4908 | +msgid "Specifies the \"right\" or \"bottom\" color of the gradient." |
4909 | +msgstr "" |
4910 | |
4911 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:21 |
4912 | msgid "Select Second Color" |
4913 | @@ -260,8 +258,8 @@ |
4914 | msgstr "Vælg automatisk en anden baggrund fra nuværende mappe." |
4915 | |
4916 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:25 |
4917 | -msgid "Specify how often the background will change" |
4918 | -msgstr "Angiv hvor ofte baggrunden skal skifte" |
4919 | +msgid "Specify how often the background will change." |
4920 | +msgstr "" |
4921 | |
4922 | #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:26 |
4923 | msgid "in seconds:" |
4924 | @@ -337,7 +335,7 @@ |
4925 | msgid "File/launcher icons" |
4926 | msgstr "Fil-/opstartsikoner" |
4927 | |
4928 | -#: ../settings/xfdesktop-settings-ui.glade.h:10 ../src/xfce-desktop.c:1016 |
4929 | +#: ../settings/xfdesktop-settings-ui.glade.h:10 ../src/xfce-desktop.c:1015 |
4930 | msgid "Desktop" |
4931 | msgstr "Skrivebord" |
4932 | |
4933 | @@ -402,56 +400,60 @@ |
4934 | msgstr "Vis kun _klæbende vinduer i aktive arbejdsområder" |
4935 | |
4936 | #: ../settings/xfdesktop-settings-ui.glade.h:26 |
4937 | +msgid "Show a_dd and remove workspace options in list" |
4938 | +msgstr "Vis til_føj og fjern arbejdspladstilvalg i liste" |
4939 | + |
4940 | +#: ../settings/xfdesktop-settings-ui.glade.h:27 |
4941 | msgid "<b>Window List Menu</b>" |
4942 | msgstr "<b>Vindueslistemenu</b>" |
4943 | |
4944 | -#: ../settings/xfdesktop-settings-ui.glade.h:27 |
4945 | +#: ../settings/xfdesktop-settings-ui.glade.h:28 |
4946 | msgid "_Menus" |
4947 | msgstr "_Menuer" |
4948 | |
4949 | -#: ../settings/xfdesktop-settings-ui.glade.h:28 |
4950 | +#: ../settings/xfdesktop-settings-ui.glade.h:29 |
4951 | msgid "Icon _type:" |
4952 | msgstr "Ikon_type:" |
4953 | |
4954 | -#: ../settings/xfdesktop-settings-ui.glade.h:29 |
4955 | +#: ../settings/xfdesktop-settings-ui.glade.h:30 |
4956 | msgid "Icon _size:" |
4957 | msgstr "Ikon_størrelse:" |
4958 | |
4959 | -#: ../settings/xfdesktop-settings-ui.glade.h:30 |
4960 | +#: ../settings/xfdesktop-settings-ui.glade.h:31 |
4961 | msgid "Show t_humbnails" |
4962 | msgstr "Vis _miniaturer" |
4963 | |
4964 | -#: ../settings/xfdesktop-settings-ui.glade.h:31 |
4965 | +#: ../settings/xfdesktop-settings-ui.glade.h:32 |
4966 | msgid "" |
4967 | "Select this option to display preview-able files on the desktop as " |
4968 | "automatically generated thumbnail icons." |
4969 | msgstr "Tilvælg dette for at vise filer som kan forhåndsvises på skrivebordet som automatisk generede miniatureikoner." |
4970 | |
4971 | -#: ../settings/xfdesktop-settings-ui.glade.h:32 |
4972 | +#: ../settings/xfdesktop-settings-ui.glade.h:33 |
4973 | msgid "Single _click to activate items" |
4974 | msgstr "_Enkeltklik for at aktivere element" |
4975 | |
4976 | -#: ../settings/xfdesktop-settings-ui.glade.h:33 |
4977 | +#: ../settings/xfdesktop-settings-ui.glade.h:34 |
4978 | msgid "Show icon tooltips. Size:" |
4979 | msgstr "Vis værktøjstips for ikoner. Størrelse:" |
4980 | |
4981 | -#: ../settings/xfdesktop-settings-ui.glade.h:34 |
4982 | +#: ../settings/xfdesktop-settings-ui.glade.h:35 |
4983 | msgid "Size of the tooltip preview image." |
4984 | msgstr "Størren på forhåndsvist billede af værktøjstip." |
4985 | |
4986 | -#: ../settings/xfdesktop-settings-ui.glade.h:35 |
4987 | +#: ../settings/xfdesktop-settings-ui.glade.h:36 |
4988 | msgid "Use custom _font size:" |
4989 | msgstr "Brug _tilpasset skriftstørrelse:" |
4990 | |
4991 | -#: ../settings/xfdesktop-settings-ui.glade.h:36 |
4992 | +#: ../settings/xfdesktop-settings-ui.glade.h:37 |
4993 | msgid "<b>Appearance</b>" |
4994 | msgstr "<b>Udseende</b>" |
4995 | |
4996 | -#: ../settings/xfdesktop-settings-ui.glade.h:37 |
4997 | +#: ../settings/xfdesktop-settings-ui.glade.h:38 |
4998 | msgid "<b>Default Icons</b>" |
4999 | msgstr "<b>Standardikoner</b>" |
5000 |
The diff has been truncated for viewing.
Thanks. Uploaded.