aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 08:59:50 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 08:59:50 +0000
commit48e9a1e0275cc2ce819b2e5a88360568c50a608d (patch)
tree6e700b624f9e38c0ba2c7cc0391fb36be5815f9d
parent33f43e437fbed0a1ebb99e8775e2688c5c2bd7ab (diff)
downloadrpmdrake-48e9a1e0275cc2ce819b2e5a88360568c50a608d.tar
rpmdrake-48e9a1e0275cc2ce819b2e5a88360568c50a608d.tar.gz
rpmdrake-48e9a1e0275cc2ce819b2e5a88360568c50a608d.tar.bz2
rpmdrake-48e9a1e0275cc2ce819b2e5a88360568c50a608d.tar.xz
rpmdrake-48e9a1e0275cc2ce819b2e5a88360568c50a608d.zip
display a quick help text on startup
-rwxr-xr-xrpmdrake10
1 files changed, 10 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 07c5549b..a382c897 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1267,6 +1267,16 @@ Is it ok to continue?",
$clear_button->set_sensitive(0);
$find_entry->grab_focus;
+ gtktext_insert($info, [
+ [ $info->render_icon('gtk-dialog-info', 'GTK_ICON_SIZE_DIALOG', undef) ],
+ @{ ugtk2::markup_to_TextView_format(
+ formatAlaTeX(join("\n\n\n", format_header(N("Quick Introduction")),
+ N("You can browse the packages through the categories tree on the left."),
+ N("You can view information about a packages by clicking on it on the right list."),
+ N("To install, update or remove an application, just click on its \"checkbox\"."))))
+ }
+ ]);
+
$w->{rwindow}->set_default_size($typical_width*2.7, 500) if !$::isEmbedded;
$find_entry->set_text($options{search}[0]) if $options{search};