diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-04-20 16:32:56 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-06-09 19:34:48 +0800 |
commit | 346d5c25eae1e9bab5ab36cd66885d6bfbe0d262 (patch) | |
tree | b80b8c03936ec0eed7ad58043ed011b8054e7c1c /libempathy-gtk/empathy-log-window.ui | |
parent | 04d3b8f34e0cab394ac143b9323bd3d00a8abee7 (diff) | |
download | gsoc2013-empathy-346d5c25eae1e9bab5ab36cd66885d6bfbe0d262.tar gsoc2013-empathy-346d5c25eae1e9bab5ab36cd66885d6bfbe0d262.tar.gz gsoc2013-empathy-346d5c25eae1e9bab5ab36cd66885d6bfbe0d262.tar.bz2 gsoc2013-empathy-346d5c25eae1e9bab5ab36cd66885d6bfbe0d262.tar.lz gsoc2013-empathy-346d5c25eae1e9bab5ab36cd66885d6bfbe0d262.tar.xz gsoc2013-empathy-346d5c25eae1e9bab5ab36cd66885d6bfbe0d262.tar.zst gsoc2013-empathy-346d5c25eae1e9bab5ab36cd66885d6bfbe0d262.zip |
Complete rewrite of the history window
https://bugzilla.gnome.org/show_bug.cgi?id=619866
Conflicts:
libempathy-gtk/empathy-log-window.c
libempathy-gtk/empathy-log-window.ui
Diffstat (limited to 'libempathy-gtk/empathy-log-window.ui')
-rw-r--r-- | libempathy-gtk/empathy-log-window.ui | 430 |
1 files changed, 150 insertions, 280 deletions
diff --git a/libempathy-gtk/empathy-log-window.ui b/libempathy-gtk/empathy-log-window.ui index a0cbcdcfa..5acca02f5 100644 --- a/libempathy-gtk/empathy-log-window.ui +++ b/libempathy-gtk/empathy-log-window.ui @@ -1,266 +1,183 @@ <?xml version="1.0"?> <interface> - <!-- interface-requires gtk+ 2.12 --> - <!-- interface-naming-policy toplevel-contextual --> + <requires lib="gtk+" version="2.16"/> + <!-- interface-naming-policy project-wide --> <object class="GtkWindow" id="log_window"> - <property name="title" translatable="yes">Previous Conversations</property> - <property name="role">log</property> - <property name="default_width">640</property> - <property name="default_height">450</property> - <property name="icon_name">document-open-recent</property> + <property name="title" translatable="yes">History</property> + <property name="default_width">800</property> + <property name="default_height">600</property> <child> - <object class="GtkNotebook" id="notebook"> + <object class="GtkVBox" id="vbox1"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="border_width">2</property> + <property name="orientation">vertical</property> <child> - <object class="GtkVBox" id="vbox192"> + <object class="GtkMenuBar" id="menubar1"> <property name="visible">True</property> - <property name="border_width">12</property> - <property name="spacing">6</property> <child> - <object class="GtkHBox" id="hbox144"> + <object class="GtkMenuItem" id="menuitem1"> <property name="visible">True</property> - <property name="spacing">12</property> - <child> - <object class="GtkLabel" id="label628"> - <property name="visible">True</property> - <property name="label" translatable="yes" comments="Searching *for* something">_For:</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">entry_find</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkEntry" id="entry_find"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="has_focus">True</property> - <property name="activates_default">True</property> - </object> - <packing> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkButton" id="button_find"> - <property name="label">gtk-find</property> + <property name="label" translatable="yes">_File</property> + <property name="use_underline">True</property> + <child type="submenu"> + <object class="GtkMenu" id="menu1"> <property name="visible">True</property> - <property name="sensitive">False</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="has_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> - <property name="focus_on_click">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">2</property> - </packing> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkVPaned" id="vpaned1"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="position">120</property> - <child> - <object class="GtkScrolledWindow" id="scrolledwindow14"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="hscrollbar_policy">never</property> - <property name="vscrollbar_policy">automatic</property> - <property name="shadow_type">in</property> <child> - <object class="GtkTreeView" id="treeview_find"> + <object class="GtkImageMenuItem" id="imagemenuitem_quit"> + <property name="label">gtk-quit</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="enable_search">False</property> + <property name="use_underline">True</property> + <property name="use_stock">True</property> </object> </child> </object> - <packing> - <property name="resize">False</property> - <property name="shrink">True</property> - </packing> </child> - <child> - <object class="GtkVBox" id="vbox215"> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menuitem2"> + <property name="visible">True</property> + <property name="label" translatable="yes">_Edit</property> + <property name="use_underline">True</property> + <child type="submenu"> + <object class="GtkMenu" id="menu2"> <property name="visible">True</property> - <property name="spacing">6</property> - <child> - <object class="GtkScrolledWindow" id="scrolledwindow_find"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="hscrollbar_policy">never</property> - <property name="shadow_type">in</property> - <child> - <placeholder/> - </child> - </object> - <packing> - <property name="position">0</property> - </packing> - </child> <child> - <object class="GtkHBox" id="hbox171"> + <object class="GtkImageMenuItem" id="imagemenuitem_delete"> + <property name="label">Delete All History...</property> <property name="visible">True</property> - <property name="spacing">12</property> - <child> - <placeholder/> - </child> - <child> - <object class="GtkButton" id="button_next"> - <property name="label" translatable="yes">Find Next</property> - <property name="visible">True</property> - <property name="sensitive">False</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="image">image1</property> - <property name="focus_on_click">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="pack_type">end</property> - <property name="position">2</property> - </packing> - </child> - <child> - <object class="GtkButton" id="button_previous"> - <property name="label" translatable="yes">Find Previous</property> - <property name="visible">True</property> - <property name="sensitive">False</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="image">image2</property> - <property name="focus_on_click">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="pack_type">end</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkButton" id="button_close"> - <property name="label">gtk-close</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_stock">True</property> - <property name="focus_on_click">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="pack_type">end</property> - <property name="position">0</property> - </packing> - </child> + <property name="image">image1</property> + <property name="use_stock">False</property> </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> </child> </object> - <packing> - <property name="resize">True</property> - <property name="shrink">True</property> - </packing> </child> </object> - <packing> - <property name="position">1</property> - </packing> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> </child> </object> - </child> - <child type="tab"> - <object class="GtkLabel" id="label595"> - <property name="visible">True</property> - <property name="label" translatable="yes" comments="Tab Label">Search</property> - </object> <packing> - <property name="tab_fill">False</property> + <property name="expand">False</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkTable" id="table7"> + <object class="GtkToolbar" id="toolbar1"> <property name="visible">True</property> - <property name="border_width">12</property> - <property name="n_rows">3</property> - <property name="n_columns">2</property> - <property name="column_spacing">6</property> - <property name="row_spacing">6</property> + <property name="toolbar_style">both</property> + <child> + <object class="GtkToolButton" id="toolbutton_profile"> + <property name="visible">True</property> + <property name="label" translatable="yes">Profile</property> + <property name="use_underline">True</property> + <property name="stock_id">gtk-dialog-info</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToolButton" id="toolbutton_chat"> + <property name="visible">True</property> + <property name="label" translatable="yes">Chat</property> + <property name="use_underline">True</property> + <property name="stock_id">gtk-edit</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToolButton" id="toolbutton_call"> + <property name="visible">True</property> + <property name="label" translatable="yes">Call</property> + <property name="use_underline">True</property> + <property name="icon_name">audio-input-microphone</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToolButton" id="toolbutton_video"> + <property name="visible">True</property> + <property name="label" translatable="yes">Video</property> + <property name="use_underline">True</property> + <property name="icon_name">camera-video</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkSeparatorToolItem" id="toolbutton_sep1"> + <property name="visible">True</property> + <property name="draw">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> <child> - <object class="GtkVBox" id="vbox_chats"> + <object class="GtkToolItem" id="toolbutton_accounts"> <property name="visible">True</property> - <property name="spacing">6</property> <child> <placeholder/> </child> </object> <packing> - <property name="x_options">GTK_FILL</property> - <property name="y_options">GTK_FILL</property> + <property name="expand">False</property> + <property name="homogeneous">True</property> </packing> </child> <child> - <object class="GtkScrolledWindow" id="scrolledwindow_chats"> + <object class="GtkSeparatorToolItem" id="toolbutton_sep2"> + <property name="visible">True</property> + <property name="draw">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> + <child> + <object class="GtkToolItem" id="toolbutton_search"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="hscrollbar_policy">never</property> - <property name="shadow_type">in</property> <child> <placeholder/> </child> </object> <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="top_attach">1</property> - <property name="bottom_attach">2</property> + <property name="expand">False</property> + <property name="homogeneous">True</property> </packing> </child> + </object> + <packing> + <property name="expand">False</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkVPaned" id="vpaned1"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="orientation">vertical</property> <child> - <object class="GtkVBox" id="vbox191"> + <object class="GtkHBox" id="hbox1"> <property name="visible">True</property> - <property name="spacing">6</property> <child> - <object class="GtkScrolledWindow" id="scrolledwindow13"> - <property name="width_request">150</property> + <object class="GtkScrolledWindow" id="scrolledwindow_who"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="hscrollbar_policy">never</property> - <property name="vscrollbar_policy">automatic</property> - <property name="shadow_type">in</property> + <property name="hscrollbar_policy">automatic</property> <child> - <object class="GtkTreeView" id="treeview_chats"> + <object class="GtkTreeView" id="treeview_who"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="headers_visible">False</property> </object> </child> </object> @@ -269,104 +186,61 @@ </packing> </child> <child> - <object class="GtkCalendar" id="calendar_chats"> + <object class="GtkScrolledWindow" id="scrolledwindow_what"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="sensitive">False</property> + <property name="hscrollbar_policy">automatic</property> + <child> + <object class="GtkTreeView" id="treeview_what"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + </child> </object> <packing> - <property name="expand">False</property> - <property name="fill">False</property> <property name="position">1</property> </packing> </child> - </object> - <packing> - <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - <property name="x_options">GTK_FILL</property> - </packing> - </child> - <child> - <object class="GtkHBox" id="hbox143"> - <property name="visible">True</property> - <property name="spacing">6</property> <child> - <object class="GtkImage" id="image247"> - <property name="visible">True</property> - <property name="stock">gtk-find</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkEntry" id="entry_chats"> + <object class="GtkScrolledWindow" id="scrolledwindow_when"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="activates_default">True</property> + <property name="hscrollbar_policy">automatic</property> + <child> + <object class="GtkTreeView" id="treeview_when"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + </child> </object> <packing> - <property name="position">1</property> + <property name="position">2</property> </packing> </child> </object> <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="x_options">GTK_FILL</property> - <property name="y_options">GTK_FILL</property> + <property name="resize">False</property> + <property name="shrink">True</property> </packing> </child> <child> - <object class="GtkHBox" id="hbox2"> + <object class="GtkScrolledWindow" id="scrolledwindow_events"> <property name="visible">True</property> - <property name="spacing">12</property> + <property name="can_focus">True</property> + <property name="hscrollbar_policy">automatic</property> + <property name="vscrollbar_policy">automatic</property> <child> <placeholder/> </child> - <child> - <object class="GtkButton" id="button_close2"> - <property name="label">gtk-close</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="pack_type">end</property> - <property name="position">1</property> - </packing> - </child> </object> <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="top_attach">2</property> - <property name="bottom_attach">3</property> - <property name="y_options"></property> + <property name="resize">True</property> + <property name="shrink">True</property> </packing> </child> - <child> - <placeholder/> - </child> </object> <packing> - <property name="position">1</property> - </packing> - </child> - <child type="tab"> - <object class="GtkLabel" id="label596"> - <property name="visible">True</property> - <property name="label" translatable="yes" comments="Tab Label">Conversations</property> - </object> - <packing> - <property name="position">1</property> - <property name="tab_fill">False</property> + <property name="position">2</property> </packing> </child> </object> @@ -374,10 +248,6 @@ </object> <object class="GtkImage" id="image1"> <property name="visible">True</property> - <property name="stock">gtk-go-forward</property> - </object> - <object class="GtkImage" id="image2"> - <property name="visible">True</property> - <property name="stock">gtk-go-back</property> + <property name="stock">gtk-missing-image</property> </object> </interface> |