last adjustements (hope)

This commit is contained in:
guinux 2012-12-26 10:27:49 +01:00
parent 344c64ac5b
commit 243cb55dcc
5 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@ import sys
from backend import config
interface = Gtk.Builder()
interface.add_from_file('gui/dialogs.glade')
interface.add_from_file('/usr/share/gui/dialogs.glade')
ProgressWindow = interface.get_object('ProgressWindow')
progress_bar = interface.get_object('progressbar2')

View File

@ -127,7 +127,7 @@ Comment[zh_CN]=更新本系统中安装的软件
Comment[zh_HK]=更新系統中已安裝的軟件
Comment[zh_TW]=更新系統中已安裝的軟體
Icon=system-software-update
Exec=pamac-update
Exec=gksu pamac-update
Terminal=false
Type=Application
Categories=GNOME;GTK;System;

View File

@ -131,7 +131,7 @@ Comment[zh_CN]=添加或删除系统中安装的软件
Comment[zh_HK]=加入或移除系統上安裝的軟件
Comment[zh_TW]=加入或移除系統上安裝的軟體
Icon=system-software-install
Exec=pamac
Exec=gksu pamac
Terminal=false
Type=Application
Categories=GNOME;GTK;System;

4
pamac
View File

@ -12,8 +12,8 @@ import traceback
from backend import transaction, config
interface = Gtk.Builder()
interface.add_from_file('gui/pamac.glade')
interface.add_from_file('gui/dialogs.glade')
interface.add_from_file('/usr/share/gui/pamac.glade')
interface.add_from_file('/usr/share/gui/dialogs.glade')
packages_list = interface.get_object('packages_list')
groups_list = interface.get_object('groups_list')

View File

@ -9,8 +9,8 @@ from os import geteuid
from backend import transaction
interface = Gtk.Builder()
interface.add_from_file('gui/pamac_update.glade')
interface.add_from_file('gui/dialogs.glade')
interface.add_from_file('/usr/share/gui/pamac_update.glade')
interface.add_from_file('/usr/share/gui/dialogs.glade')
update_listore = interface.get_object('update_list')
top_label = interface.get_object('top_label')