Changeset 9178

Show
Ignore:
Timestamp:
12/19/07 00:42:22 (11 months ago)
Author:
nicfit
Message:

Merge one_window branch

Merged revisions 9143,9145-9155,9157-9162,9164-9169,9171-9177 via svnmerge from
svn://88.191.11.156/gajim/branches/one_window

........

r9145 | nicfit | 2007-12-13 21:49:09 -0700 (Thu, 13 Dec 2007) | 2 lines


Implemented the original Nikos patch with an HPaned instead of a HBox and only do this mode when one_message_window == 'always'

........

r9152 | nicfit | 2007-12-15 13:33:56 -0700 (Sat, 15 Dec 2007) | 2 lines


Added config and GUI for one_message_window_with_roster

........

r9153 | nicfit | 2007-12-15 13:41:46 -0700 (Sat, 15 Dec 2007) | 2 lines


Use one_message_window_with_roster and some whitespace cleanup

........

r9154 | nicfit | 2007-12-15 14:04:49 -0700 (Sat, 15 Dec 2007) | 2 lines


Scratch the chckbox for with roster mode, use one_message_window opt and combo

........

r9155 | nicfit | 2007-12-15 17:01:13 -0700 (Sat, 15 Dec 2007) | 2 lines


MessageWindowMgr? knows about ONE_MESSAGE_WINDOW_ALWAYS_WITH_ROSTER and MessageWindow? can reparent itself rather then the roster having to do so.

........

r9157 | nicfit | 2007-12-15 17:47:20 -0700 (Sat, 15 Dec 2007) | 2 lines


Resizing fixes and make the roster window shrink when last tab is removed

........

r9158 | nicfit | 2007-12-15 19:15:11 -0700 (Sat, 15 Dec 2007) | 2 lines


Added "Show roster" (CTRL+R) to view menu when using always_with_roster to quickly hide/show the roster.

........

r9159 | nicfit | 2007-12-15 19:49:30 -0700 (Sat, 15 Dec 2007) | 2 lines


Handle window title setting in always_with_roster mode.

........

r9160 | nicfit | 2007-12-15 20:13:57 -0700 (Sat, 15 Dec 2007) | 2 lines


Removed FIXME

........

r9167 | nicfit | 2007-12-17 18:40:59 -0700 (Mon, 17 Dec 2007) | 2 lines


When roster is hidden, show it when the number of MessageWindow? controls == 0

........

r9168 | nicfit | 2007-12-17 19:07:49 -0700 (Mon, 17 Dec 2007) | 2 lines


Disable hiding roster when there are no message controls open

........

r9169 | nicfit | 2007-12-17 20:41:11 -0700 (Mon, 17 Dec 2007) | 2 lines


Bunch of saved size bugs fixed

........

Location:
trunk
Files:
9 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svnmerge-integrated changed from /branches/normal_control:1-9172 /branches/one_window:1-9142 to /branches/normal_control:1-9172 /branches/one_window:1-9177
  • trunk/data/glade/preferences_window.glade

    r9139 r9178  
    128128                            <property name="row_spacing">6</property> 
    129129                            <child> 
    130                               <widget class="GtkLabel" id="label387"> 
    131                                 <property name="visible">True</property> 
    132                                 <property name="xalign">0</property> 
    133                                 <property name="xpad">1</property> 
    134                                 <property name="label" translatable="yes">Treat all incoming messages as:</property> 
    135                               </widget> 
    136                               <packing> 
    137                                 <property name="top_attach">1</property> 
    138                                 <property name="bottom_attach">2</property> 
     130                              <widget class="GtkCheckButton" id="speller_checkbutton"> 
     131                                <property name="can_focus">True</property> 
     132                                <property name="label" translatable="yes">_Highlight misspelled words</property> 
     133                                <property name="use_underline">True</property> 
     134                                <property name="response_id">0</property> 
     135                                <property name="draw_indicator">True</property> 
     136                                <signal name="toggled" handler="on_speller_checkbutton_toggled"/> 
     137                              </widget> 
     138                              <packing> 
     139                                <property name="right_attach">2</property> 
     140                                <property name="top_attach">5</property> 
     141                                <property name="bottom_attach">6</property> 
    139142                                <property name="x_options">GTK_FILL</property> 
    140143                              </packing> 
    141144                            </child> 
    142145                            <child> 
    143                               <widget class="GtkLabel" id="label379"> 
    144                                 <property name="visible">True</property> 
    145                                 <property name="xalign">0</property> 
    146                                 <property name="xpad">1</property> 
    147                                 <property name="label" translatable="yes">Use only one message _window:</property> 
    148                                 <property name="use_underline">True</property> 
    149                                 <property name="mnemonic_widget">one_window_type_combobox</property> 
    150                               </widget> 
    151                               <packing> 
     146                              <widget class="GtkCheckButton" id="xhtml_checkbutton"> 
     147                                <property name="visible">True</property> 
     148                                <property name="can_focus">True</property> 
     149                                <property name="tooltip" translatable="yes">Some messages may include rich content (formatting, colors etc). If checked, Gajim will just display the raw message text.</property> 
     150                                <property name="label" translatable="yes">Ignore rich content in incoming messages</property> 
     151                                <property name="use_underline">True</property> 
     152                                <property name="response_id">0</property> 
     153                                <property name="draw_indicator">True</property> 
     154                                <signal name="toggled" handler="on_xhtml_checkbutton_toggled"/> 
     155                              </widget> 
     156                              <packing> 
     157                                <property name="right_attach">2</property> 
     158                                <property name="top_attach">4</property> 
     159                                <property name="bottom_attach">5</property> 
     160                                <property name="x_options">GTK_FILL</property> 
     161                              </packing> 
     162                            </child> 
     163                            <child> 
     164                              <widget class="GtkCheckButton" id="compact_view_checkbutton"> 
     165                                <property name="can_focus">True</property> 
     166                                <property name="tooltip" translatable="yes">Hides buttons in chatwindows to </property> 
     167                                <property name="label" translatable="yes">_Make message windows compact</property> 
     168                                <property name="use_underline">True</property> 
     169                                <property name="response_id">0</property> 
     170                                <property name="draw_indicator">True</property> 
     171                                <signal name="toggled" handler="on_compact_view_checkbutton_toggled"/> 
     172                              </widget> 
     173                              <packing> 
     174                                <property name="right_attach">2</property> 
     175                                <property name="top_attach">3</property> 
     176                                <property name="bottom_attach">4</property> 
     177                                <property name="x_options">GTK_FILL</property> 
     178                              </packing> 
     179                            </child> 
     180                            <child> 
     181                              <widget class="GtkEventBox" id="eventbox5"> 
     182                                <property name="visible">True</property> 
     183                                <property name="tooltip" translatable="yes">If not disabled, Gajim will replace ascii smilies like ':)' with equivalent animated or static graphical emoticons</property> 
     184                                <child> 
     185                                  <widget class="GtkLabel" id="label381"> 
     186                                    <property name="visible">True</property> 
     187                                    <property name="xalign">0</property> 
     188                                    <property name="xpad">1</property> 
     189                                    <property name="label" translatable="yes">Emoticons:</property> 
     190                                  </widget> 
     191                                </child> 
     192                              </widget> 
     193                              <packing> 
     194                                <property name="x_options">GTK_FILL</property> 
     195                              </packing> 
     196                            </child> 
     197                            <child> 
     198                              <widget class="GtkComboBox" id="emoticons_combobox"> 
     199                                <property name="visible">True</property> 
     200                                <signal name="changed" handler="on_emoticons_combobox_changed"/> 
     201                              </widget> 
     202                              <packing> 
     203                                <property name="left_attach">1</property> 
     204                                <property name="right_attach">2</property> 
     205                                <property name="x_options">GTK_FILL</property> 
     206                              </packing> 
     207                            </child> 
     208                            <child> 
     209                              <widget class="GtkComboBox" id="one_window_type_combobox"> 
     210                                <property name="visible">True</property> 
     211                                <property name="items" translatable="yes">Never 
     212Always 
     213Always (with Roster) 
     214Per account 
     215Per type</property> 
     216                                <signal name="changed" handler="on_one_window_type_combo_changed"/> 
     217                              </widget> 
     218                              <packing> 
     219                                <property name="left_attach">1</property> 
     220                                <property name="right_attach">2</property> 
    152221                                <property name="top_attach">2</property> 
    153222                                <property name="bottom_attach">3</property> 
     
    172241                            </child> 
    173242                            <child> 
    174                               <widget class="GtkComboBox" id="one_window_type_combobox"> 
    175                                 <property name="visible">True</property> 
    176                                 <property name="items" translatable="yes">Never 
    177 Always 
    178 Per account 
    179 Per type</property> 
    180                                 <signal name="changed" handler="on_one_window_type_combo_changed"/> 
    181                               </widget> 
    182                               <packing> 
    183                                 <property name="left_attach">1</property> 
    184                                 <property name="right_attach">2</property> 
     243                              <widget class="GtkLabel" id="label379"> 
     244                                <property name="visible">True</property> 
     245                                <property name="xalign">0</property> 
     246                                <property name="xpad">1</property> 
     247                                <property name="label" translatable="yes">Use only one message _window:</property> 
     248                                <property name="use_underline">True</property> 
     249                                <property name="mnemonic_widget">one_window_type_combobox</property> 
     250                              </widget> 
     251                              <packing> 
    185252                                <property name="top_attach">2</property> 
    186253                                <property name="bottom_attach">3</property> 
     
    189256                            </child> 
    190257                            <child> 
    191                               <widget class="GtkCheckButton" id="compact_view_checkbutton"> 
    192                                 <property name="can_focus">True</property> 
    193                                 <property name="tooltip" translatable="yes">Hides buttons in chatwindows to </property> 
    194                                 <property name="label" translatable="yes">_Make message windows compact</property> 
    195                                 <property name="use_underline">True</property> 
    196                                 <property name="response_id">0</property> 
    197                                 <property name="draw_indicator">True</property> 
    198                                 <signal name="toggled" handler="on_compact_view_checkbutton_toggled"/> 
    199                               </widget> 
    200                               <packing> 
    201                                 <property name="right_attach">2</property> 
    202                                 <property name="top_attach">3</property> 
    203                                 <property name="bottom_attach">4</property> 
    204                                 <property name="x_options">GTK_FILL</property> 
    205                               </packing> 
    206                             </child> 
    207                             <child> 
    208                               <widget class="GtkCheckButton" id="xhtml_checkbutton"> 
    209                                 <property name="visible">True</property> 
    210                                 <property name="can_focus">True</property> 
    211                                 <property name="tooltip" translatable="yes">Some messages may include rich content (formatting, colors etc). If checked, Gajim will just display the raw message text.</property> 
    212                                 <property name="label" translatable="yes">Ignore rich content in incoming messages</property> 
    213                                 <property name="use_underline">True</property> 
    214                                 <property name="response_id">0</property> 
    215                                 <property name="draw_indicator">True</property> 
    216                                 <signal name="toggled" handler="on_xhtml_checkbutton_toggled"/> 
    217                               </widget> 
    218                               <packing> 
    219                                 <property name="right_attach">2</property> 
    220                                 <property name="top_attach">4</property> 
    221                                 <property name="bottom_attach">5</property> 
    222                                 <property name="x_options">GTK_FILL</property> 
    223                               </packing> 
    224                             </child> 
    225                             <child> 
    226                               <widget class="GtkCheckButton" id="speller_checkbutton"> 
    227                                 <property name="can_focus">True</property> 
    228                                 <property name="label" translatable="yes">_Highlight misspelled words</property> 
    229                                 <property name="use_underline">True</property> 
    230                                 <property name="response_id">0</property> 
    231                                 <property name="draw_indicator">True</property> 
    232                                 <signal name="toggled" handler="on_speller_checkbutton_toggled"/> 
    233                               </widget> 
    234                               <packing> 
    235                                 <property name="right_attach">2</property> 
    236                                 <property name="top_attach">5</property> 
    237                                 <property name="bottom_attach">6</property> 
    238                                 <property name="x_options">GTK_FILL</property> 
    239                               </packing> 
    240                             </child> 
    241                             <child> 
    242                               <widget class="GtkComboBox" id="emoticons_combobox"> 
    243                                 <property name="visible">True</property> 
    244                                 <signal name="changed" handler="on_emoticons_combobox_changed"/> 
    245                               </widget> 
    246                               <packing> 
    247                                 <property name="left_attach">1</property> 
    248                                 <property name="right_attach">2</property> 
    249                                 <property name="x_options">GTK_FILL</property> 
    250                               </packing> 
    251                             </child> 
    252                             <child> 
    253                               <widget class="GtkEventBox" id="eventbox5"> 
    254                                 <property name="visible">True</property> 
    255                                 <property name="tooltip" translatable="yes">If not disabled, Gajim will replace ascii smilies like ':)' with equivalent animated or static graphical emoticons</property> 
    256                                 <child> 
    257                                   <widget class="GtkLabel" id="label381"> 
    258                                     <property name="visible">True</property> 
    259                                     <property name="xalign">0</property> 
    260                                     <property name="xpad">1</property> 
    261                                     <property name="label" translatable="yes">Emoticons:</property> 
    262                                   </widget> 
    263                                 </child> 
    264                               </widget> 
    265                               <packing> 
     258                              <widget class="GtkLabel" id="label387"> 
     259                                <property name="visible">True</property> 
     260                                <property name="xalign">0</property> 
     261                                <property name="xpad">1</property> 
     262                                <property name="label" translatable="yes">Treat all incoming messages as:</property> 
     263                              </widget> 
     264                              <packing> 
     265                                <property name="top_attach">1</property> 
     266                                <property name="bottom_attach">2</property> 
    266267                                <property name="x_options">GTK_FILL</property> 
    267268                              </packing> 
     
    308309                            <property name="row_spacing">6</property> 
    309310                            <child> 
    310                               <widget class="GtkLabel" id="label6"> 
     311                              <widget class="GtkLabel" id="label4"> 
    311312                                <property name="visible">True</property> 
    312313                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
    313314                              </widget> 
    314315                              <packing> 
    315                                 <property name="left_attach">2</property> 
     316                                <property name="left_attach">3</property> 
    316317                                <property name="right_attach">4</property> 
    317                                 <property name="top_attach">1</property> 
    318                                 <property name="bottom_attach">2</property> 
    319                               </packing> 
    320                             </child> 
    321                             <child> 
    322                               <widget class="GtkLabel" id="label249"> 
    323                                 <property name="visible">True</property> 
    324                                 <property name="xalign">0</property> 
    325                                 <property name="label" translatable="yes">T_heme:</property> 
    326                                 <property name="use_underline">True</property> 
    327                                 <property name="mnemonic_widget">theme_combobox</property> 
    328                               </widget> 
    329                               <packing> 
    330                                 <property name="x_options">GTK_FILL</property> 
    331                                 <property name="y_options">GTK_FILL</property> 
    332                               </packing> 
    333                             </child> 
    334                             <child> 
    335                               <widget class="GtkButton" id="manage_theme_button"> 
    336                                 <property name="visible">True</property> 
    337                                 <property name="can_focus">True</property> 
    338                                 <property name="tooltip" translatable="yes">Configure color and font of the interface</property> 
    339                                 <property name="label" translatable="yes">Ma_nage...</property> 
     318                              </packing> 
     319                            </child> 
     320                            <child> 
     321                              <widget class="GtkCheckButton" id="transports_iconsets_checkbutton"> 
     322                                <property name="visible">True</property> 
     323                                <property name="can_focus">True</property> 
     324                                <property name="tooltip" translatable="yes">If checked, Gajim will use protocol-specific status icons. (eg. A contact from MSN will have the equivalent msn icon for status online, away, busy, etc...)</property> 
     325                                <property name="label" translatable="yes">Use _transports iconsets</property> 
    340326                                <property name="use_underline">True</property> 
    341327                                <property name="response_id">0</property> 
    342                                 <signal name="clicked" handler="on_manage_theme_button_clicked"/> 
    343                               </widget> 
    344                               <packing> 
    345                                 <property name="left_attach">2</property> 
    346                                 <property name="right_attach">3</property> 
    347                                 <property name="x_options">GTK_FILL</property> 
    348                                 <property name="y_options">GTK_FILL</property> 
    349                               </packing> 
    350                             </child> 
    351                             <child> 
    352                               <widget class="GtkComboBox" id="theme_combobox"> 
    353                                 <property name="visible">True</property> 
    354                                 <signal name="changed" handler="on_theme_combobox_changed"/> 
    355                               </widget> 
    356                               <packing> 
    357                                 <property name="left_attach">1</property> 
    358                                 <property name="right_attach">2</property> 
    359                                 <property name="x_options">GTK_FILL</property> 
    360                                 <property name="y_options">GTK_FILL</property> 
    361                               </packing> 
    362                             </child> 
    363                             <child> 
    364                               <widget class="GtkLabel" id="label174"> 
    365                                 <property name="visible">True</property> 
    366                                 <property name="xalign">0</property> 
    367                                 <property name="label" translatable="yes">Status _iconset:</property> 
    368                                 <property name="use_underline">True</property> 
    369                                 <property name="mnemonic_widget">iconset_combobox</property> 
    370                               </widget> 
    371                               <packing> 
    372                                 <property name="top_attach">1</property> 
    373                                 <property name="bottom_attach">2</property> 
    374                                 <property name="x_options">GTK_FILL</property> 
    375                                 <property name="y_options">GTK_FILL</property> 
     328                                <property name="draw_indicator">True</property> 
     329                                <signal name="toggled" handler="on_transports_iconsets_checkbutton_toggled"/> 
     330                              </widget> 
     331                              <packing> 
     332                                <property name="right_attach">4</property> 
     333                                <property name="top_attach">2</property> 
     334                                <property name="bottom_attach">3</property> 
    376335                              </packing> 
    377336                            </child> 
     
    391350                            </child> 
    392351                            <child> 
    393                               <widget class="GtkCheckButton" id="transports_iconsets_checkbutton"> 
    394                                 <property name="visible">True</property> 
    395                                 <property name="can_focus">True</property> 
    396                                 <property name="tooltip" translatable="yes">If checked, Gajim will use protocol-specific status icons. (eg. A contact from MSN will have the equivalent msn icon for status online, away, busy, etc...)</property> 
    397                                 <property name="label" translatable="yes">Use _transports iconsets</property> 
     352                              <widget class="GtkLabel" id="label174"> 
     353                                <property name="visible">True</property> 
     354                                <property name="xalign">0</property> 
     355                                <property name="label" translatable="yes">Status _iconset:</property> 
     356                                <property name="use_underline">True</property> 
     357                                <property name="mnemonic_widget">iconset_combobox</property> 
     358                              </widget> 
     359                              <packing> 
     360                                <property name="top_attach">1</property> 
     361                                <property name="bottom_attach">2</property> 
     362                                <property name="x_options">GTK_FILL</property> 
     363                                <property name="y_options">GTK_FILL</property> 
     364                              </packing> 
     365                            </child> 
     366                            <child> 
     367                              <widget class="GtkComboBox" id="theme_combobox"> 
     368                                <property name="visible">True</property> 
     369                                <signal name="changed" handler="on_theme_combobox_changed"/> 
     370                              </widget> 
     371                              <packing> 
     372                                <property name="left_attach">1</property> 
     373                                <property name="right_attach">2</property> 
     374                                <property name="x_options">GTK_FILL</property> 
     375                                <property name="y_options">GTK_FILL</property> 
     376                              </packing> 
     377                            </child> 
     378                            <child> 
     379                              <widget class="GtkButton" id="manage_theme_button"> 
     380                                <property name="visible">True</property> 
     381                                <property name="can_focus">True</property> 
     382                                <property name="tooltip" translatable="yes">Configure color and font of the interface</property> 
     383                                <property name="label" translatable="yes">Ma_nage...</property> 
    398384                                <property name="use_underline">True</property> 
    399385                                <property name="response_id">0</property> 
    400                                 <property name="draw_indicator">True</property> 
    401                                 <signal name="toggled" handler="on_transports_iconsets_checkbutton_toggled"/> 
    402                               </widget> 
    403                               <packing> 
     386                                <signal name="clicked" handler="on_manage_theme_button_clicked"/> 
     387                              </widget> 
     388                              <packing> 
     389                                <property name="left_attach">2</property> 
     390                                <property name="right_attach">3</property> 
     391                                <property name="x_options">GTK_FILL</property> 
     392                                <property name="y_options">GTK_FILL</property> 
     393                              </packing> 
     394                            </child> 
     395                            <child> 
     396                              <widget class="GtkLabel" id="label249"> 
     397                                <property name="visible">True</property> 
     398                                <property name="xalign">0</property> 
     399                                <property name="label" translatable="yes">T_heme:</property> 
     400                                <property name="use_underline">True</property> 
     401                                <property name="mnemonic_widget">theme_combobox</property> 
     402                              </widget> 
     403                              <packing> 
     404                                <property name="x_options">GTK_FILL</property> 
     405                                <property name="y_options">GTK_FILL</property> 
     406                              </packing> 
     407                            </child> 
     408                            <child> 
     409                              <widget class="GtkLabel" id="label6"> 
     410                                <property name="visible">True</property> 
     411                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
     412                              </widget> 
     413                              <packing> 
     414                                <property name="left_attach">2</property> 
    404415                                <property name="right_attach">4</property> 
    405                                 <property name="top_attach">2</property> 
    406                                 <property name="bottom_attach">3</property> 
    407                               </packing> 
    408                             </child> 
    409                             <child> 
    410                               <widget class="GtkLabel" id="label4"> 
    411                                 <property name="visible">True</property> 
    412                                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
    413                               </widget> 
    414                               <packing> 
    415                                 <property name="left_attach">3</property> 
    416                                 <property name="right_attach">4</property> 
     416                                <property name="top_attach">1</property> 
     417                                <property name="bottom_attach">2</property> 
    417418                              </packing> 
    418419                            </child> 
     
    475476                            <property name="row_spacing">6</property> 
    476477                            <child> 
    477                               <widget class="GtkComboBox" id="outgoing_chat_states_combobox"> 
    478                                 <property name="visible">True</property> 
    479                                 <property name="items" translatable="yes">All chat states 
    480 Composing only 
    481 Disabled</property> 
    482                                 <signal name="changed" handler="on_outgoing_chat_states_combobox_changed"/> 
    483                               </widget> 
    484                               <packing> 
    485                                 <property name="left_attach">1</property> 
     478                              <widget class="GtkCheckButton" id="ignore_events_from_unknown_contacts_checkbutton"> 
     479