From ea17a94149eb6029f60e2807d6c2fd5c738728da Mon Sep 17 00:00:00 2001 From: Konstantin Pugin Date: Thu, 2 Apr 2015 02:35:08 +0600 Subject: [PATCH] Some eyecandy --- lib/appmenu-desktop.vala | 2 ++ lib/desktop-menus.ui | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/appmenu-desktop.vala b/lib/appmenu-desktop.vala index ec1cbfc4..abd88370 100644 --- a/lib/appmenu-desktop.vala +++ b/lib/appmenu-desktop.vala @@ -149,6 +149,8 @@ namespace Appmenu } catch (Error e) { stderr.printf("%s\n",e.message); } + if (files_menu.get_n_items() == 0) + files_menu.append(_("No files"),"ls.this-shold-not-be-reached"); action.set_state(new Variant.boolean(true)); } } diff --git a/lib/desktop-menus.ui b/lib/desktop-menus.ui index fe034caf..f59661d7 100755 --- a/lib/desktop-menus.ui +++ b/lib/desktop-menus.ui @@ -1,13 +1,6 @@ -
- - File Manager - menu.launch-command - 'xdg-open /' - -
Desktop Settings