diff options
author | Angelo Naselli <anaselli@linux.it> | 2013-11-20 22:24:06 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2013-11-20 22:24:06 +0100 |
commit | 5da40e88c8abd7a5f02ed445853890c0782fe271 (patch) | |
tree | 8168b381136ce04a2ed25359a089fe7fb426a993 /modules/rpmdragora | |
parent | dc724e6db1d66eedf2f27e22cc9baee7603800eb (diff) | |
download | manatools-5da40e88c8abd7a5f02ed445853890c0782fe271.tar manatools-5da40e88c8abd7a5f02ed445853890c0782fe271.tar.gz manatools-5da40e88c8abd7a5f02ed445853890c0782fe271.tar.bz2 manatools-5da40e88c8abd7a5f02ed445853890c0782fe271.tar.xz manatools-5da40e88c8abd7a5f02ed445853890c0782fe271.zip |
Added logo and title
Diffstat (limited to 'modules/rpmdragora')
-rwxr-xr-x | modules/rpmdragora/rpmdragora | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora index 64baac97..26059669 100755 --- a/modules/rpmdragora/rpmdragora +++ b/modules/rpmdragora/rpmdragora @@ -365,7 +365,19 @@ sub run_treeview_dialog { my $hbox_headbar = $factory->createHBox($vbox); my $head_align_left = $factory->createLeft($hbox_headbar); + my $head_align_right = $factory->createRight($hbox_headbar); my $headbar = $factory->createHBox($head_align_left); + my $headRight = $factory->createHBox($head_align_right); + + #Line for logo and title + my $hbox_iconbar = $factory->createHBox($vbox); + $head_align_left = $factory->createLeft($hbox_iconbar); + $hbox_iconbar = $factory->createHBox($head_align_left); + # TODO manage MODE for title and icon + $factory->createImage($hbox_iconbar, "/usr/share/rpmdrake/icons/title-install.png"); + $factory->createHeading($hbox_iconbar, N("Software Management")); +# Gtk2::Banner->new($ugtk2::wm_icon, $::MODE eq 'update' ? N("Software Packages Update") : N("Software Management")) + my $hbox_top = $factory->createHBox($vbox); my $hbox_middle = $factory->createHBox($vbox); my $hbox_bottom = $factory->createHBox($vbox); @@ -729,7 +741,7 @@ sub run_treeview_dialog { $option_menu->rebuildMenuTree(); # build help menu - my $help_menu = $factory->createMenuButton($headbar,N("Help")); + my $help_menu = $factory->createMenuButton($headRight,N("Help")); my @items = ("Report bug", "Help", "About"); for my $item(@items) { $help_menu->addItem(new yui::YMenuItem(N($item))); |