aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-08-29 22:28:28 +0200
committerAngelo Naselli <anaselli@linux.it>2014-08-29 22:28:28 +0200
commit28dbac079d14ccc88fcc164f7a2e691df867c6a1 (patch)
treee6dc28f15ed6aedc19dffe9c11af463b9fbace87
parentdfcee571c2601c5d470f243534cba72a2d36095c (diff)
downloadmanatools-28dbac079d14ccc88fcc164f7a2e691df867c6a1.tar
manatools-28dbac079d14ccc88fcc164f7a2e691df867c6a1.tar.gz
manatools-28dbac079d14ccc88fcc164f7a2e691df867c6a1.tar.bz2
manatools-28dbac079d14ccc88fcc164f7a2e691df867c6a1.tar.xz
manatools-28dbac079d14ccc88fcc164f7a2e691df867c6a1.zip
added dragora-urpm-sources
-rw-r--r--extras/conf/categories.conf9
-rw-r--r--extras/conf/settings.conf4
-rw-r--r--lib/AdminPanel/MainDisplay.pm2
3 files changed, 11 insertions, 4 deletions
diff --git a/extras/conf/categories.conf b/extras/conf/categories.conf
index 12c5e58e..753bb6af 100644
--- a/extras/conf/categories.conf
+++ b/extras/conf/categories.conf
@@ -1,6 +1,15 @@
<?xml version='1.0'?>
<categories>
<category>
+ <title>Software Management</title>
+ <icon>/usr/share/icons/applications_section.png</icon>
+ <module>
+ <title>Edit Sources</title>
+ <launcher>/usr/bin/dragora-urpm-sources.pl</launcher>
+ <icon>/usr/share/icons/edit-urpm-sources.png</icon>
+ </module>
+ </category>
+ <category>
<title>System</title>
<icon>/usr/share/icons/system_section.png</icon>
<module>
diff --git a/extras/conf/settings.conf b/extras/conf/settings.conf
index 4be4fe34..000a9fe5 100644
--- a/extras/conf/settings.conf
+++ b/extras/conf/settings.conf
@@ -1,9 +1,9 @@
<?xml version='1.0'?>
<settings>
<title>Admin Panel</title>
- <logo>images/logo_mageia.png</logo>
+ <!--logo>images/logo_mageia.png</logo>
<icon>images/mageia.png</icon>
- <log>/tmp/apanel.log</log>
+ <log>/tmp/apanel.log</log-->
<images_dir>/usr/share/icons</images_dir>
<category_title>Categories</category_title>
<priv_method>pkit</priv_method>
diff --git a/lib/AdminPanel/MainDisplay.pm b/lib/AdminPanel/MainDisplay.pm
index b51d3077..73938ab3 100644
--- a/lib/AdminPanel/MainDisplay.pm
+++ b/lib/AdminPanel/MainDisplay.pm
@@ -195,8 +195,6 @@ sub start {
elsif ($eventType == $yui::YEvent::MenuEvent) {
### MENU ###
my $item = $self->{event}->item();
- $DB::single = 1;
-
my $menuLabel = $item->label();
if ($menuLabel eq $self->{menus}->{file}->{ quit }->label()) {
## quit menu item