From 54848dd654effce993793cba3ef0bd86ba6b8e1c Mon Sep 17 00:00:00 2001 From: Stephan Erb <steve-e@h3c.de> Date: Wed, 28 Nov 2007 20:09:54 +0000 Subject: [PATCH] Make the introduction of the history manager more verbose and appealing. --- data/glade/history_manager.glade | 92 ++++++++++++++++++++++++++++---- 1 file changed, 83 insertions(+), 9 deletions(-) diff --git a/data/glade/history_manager.glade b/data/glade/history_manager.glade index 2d7802f95d..e44910f58d 100644 --- a/data/glade/history_manager.glade +++ b/data/glade/history_manager.glade @@ -43,18 +43,93 @@ <widget class="GtkVBox" id="vbox1"> <property name="visible">True</property> <child> - <widget class="GtkLabel" id="welcome_label"> + <widget class="GtkVBox" id="vbox2"> <property name="visible">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes"><big><b>Welcome to Gajim History Logs Manager</b></big> - -You can select logs from the left and/or search database from below. + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <child> + <widget class="GtkLabel" id="welcome_label"> + <property name="visible">True</property> + <property name="label" translatable="yes"><big><b>Welcome to Gajim History Logs Manager</b></big></property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_CENTER</property> + <property name="wrap">True</property> + </widget> + </child> + <child> + <widget class="GtkHBox" id="hbox3"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <child> + <widget class="GtkImage" id="image3"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="xalign">1</property> + <property name="yalign">0</property> + <property name="stock">gtk-info</property> + <property name="icon_size">64</property> + </widget> + </child> + <child> + <widget class="GtkLabel" id="info_label"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="label" translatable="yes">This log manager is not intended for log viewing. If you are looking for such functionality, use the history window instead. -<b>WARNING:</b> +Use this program to delete or export logs. You can select logs from the left and/or search database from below.</property> + <property name="use_markup">True</property> + <property name="wrap">True</property> + </widget> + <packing> + <property name="position">1</property> + </packing> + </child> + </widget> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="padding">20</property> + <property name="position">1</property> + </packing> + </child> + <child> + <widget class="GtkHBox" id="hbox2"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <child> + <widget class="GtkImage" id="warning_image"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="xalign">1</property> + <property name="yalign">0</property> + <property name="stock">gtk-dialog-warning</property> + <property name="icon_size">64</property> + </widget> + </child> + <child> + <widget class="GtkLabel" id="warning_label"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="label" translatable="yes"><b>WARNING:</b> If you plan to do massive deletions, please make sure Gajim is not running. Generally avoid deletions with contacts you currently chat with.</property> - <property name="use_markup">True</property> - <property name="wrap">True</property> + <property name="use_markup">True</property> + <property name="wrap">True</property> + </widget> + <packing> + <property name="position">1</property> + </packing> + </child> + </widget> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="padding">20</property> + <property name="position">2</property> + </packing> + </child> </widget> + <packing> + <property name="expand">False</property> + </packing> </child> <child> <widget class="GtkScrolledWindow" id="logs_scrolledwindow"> @@ -115,7 +190,6 @@ If you plan to do massive deletions, please make sure Gajim is not running. Gene <widget class="GtkEntry" id="search_entry"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">*</property> <property name="activates_default">True</property> </widget> </child> -- GitLab