Skip to content

Commit

Permalink
Some eyecandy
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed Apr 1, 2015
1 parent 4e20ccf commit ea17a94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions lib/appmenu-desktop.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down
7 changes: 0 additions & 7 deletions lib/desktop-menus.ui
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<menu id="appmenu">
<section id="apps">
<item>
<attribute name="label" translatable="yes">File Manager</attribute>
<attribute name="action">menu.launch-command</attribute>
<attribute name="target">'xdg-open /'</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Desktop Settings</attribute>
Expand Down

0 comments on commit ea17a94

Please sign in to comment.