Changeset f900ed0e2fd323b79bc64e5297248bcbeb80480d

Show
Ignore:
Timestamp:
12/11/08 15:45:39 (3 years ago)
Author:
Lincoln de Sousa <lincoln@…>
Children:
1fa4120a0445d0692f6e35fbc512ed95c16d9080
Parents:
1503e706459f7a847c8170fde4d130f49c11823f
git-committer:
Lincoln de Sousa <lincoln@…> (12/11/08 15:45:39)
Message:

Removing the "Tab position" feature.

This feature is not used by anyone (that I asked =) and is bloating
the user interface.

Files:
2 removed
4 modified

Legend:

Unmodified
Added
Removed
  • data/guake.schemas

    re140703 rf900ed0  
    101101                <long>Percent of the screen that will be used by guake 
    102102                    terminal.</long> 
    103             </locale> 
    104         </schema> 
    105  
    106         <schema> 
    107             <key>/schemas/apps/guake/general/tabpos</key> 
    108             <applyto>/apps/guake/general/tabpos</applyto> 
    109             <owner>guake</owner> 
    110             <type>string</type> 
    111             <default>bottom</default> 
    112             <locale name="C"> 
    113                 <short>Tab position.</short> 
    114                 <long>Defines where tabs will be shown in guake.</long> 
    115103            </locale> 
    116104        </schema> 
  • data/prefs.glade

    r6fda672 rf900ed0  
    1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 
    2 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd"> 
    3 <!--*- mode: xml -*--> 
     1<?xml version="1.0"?> 
    42<glade-interface> 
    53  <widget class="GtkWindow" id="config-window"> 
     
    318316                      </packing> 
    319317                    </child> 
    320                     <child> 
    321                       <widget class="GtkFrame" id="frame6"> 
    322                         <property name="visible">True</property> 
    323                         <property name="label_xalign">0</property> 
    324                         <property name="shadow_type">GTK_SHADOW_NONE</property> 
    325                         <child> 
    326                           <widget class="GtkAlignment" id="alignment6"> 
    327                             <property name="visible">True</property> 
    328                             <property name="top_padding">4</property> 
    329                             <property name="left_padding">12</property> 
    330                             <child> 
    331                               <widget class="GtkTable" id="table4"> 
    332                                 <property name="visible">True</property> 
    333                                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
    334                                 <property name="n_rows">2</property> 
    335                                 <property name="n_columns">2</property> 
    336                                 <property name="column_spacing">12</property> 
    337                                 <property name="row_spacing">6</property> 
    338                                 <child> 
    339                                   <widget class="GtkImage" id="image1"> 
    340                                     <property name="visible">True</property> 
    341                                     <property name="xalign">0</property> 
    342                                     <property name="stock">gtk-missing-image</property> 
    343                                   </widget> 
    344                                 </child> 
    345                                 <child> 
    346                                   <widget class="GtkImage" id="image2"> 
    347                                     <property name="visible">True</property> 
    348                                     <property name="xalign">0</property> 
    349                                     <property name="stock">gtk-missing-image</property> 
    350                                   </widget> 
    351                                   <packing> 
    352                                     <property name="left_attach">1</property> 
    353                                     <property name="right_attach">2</property> 
    354                                   </packing> 
    355                                 </child> 
    356                                 <child> 
    357                                   <widget class="GtkRadioButton" id="tabtop-radiobutton"> 
    358                                     <property name="visible">True</property> 
    359                                     <property name="label" translatable="yes">Top</property> 
    360                                     <property name="use_underline">True</property> 
    361                                     <property name="response_id">0</property> 
    362                                     <property name="active">True</property> 
    363                                     <property name="draw_indicator">True</property> 
    364                                     <property name="group">tabbottom-radiobutton</property> 
    365                                     <signal name="toggled" handler="on_tabtop_radiobutton_toggled"/> 
    366                                   </widget> 
    367                                   <packing> 
    368                                     <property name="left_attach">1</property> 
    369                                     <property name="right_attach">2</property> 
    370                                     <property name="top_attach">1</property> 
    371                                     <property name="bottom_attach">2</property> 
    372                                   </packing> 
    373                                 </child> 
    374                                 <child> 
    375                                   <widget class="GtkRadioButton" id="tabbottom-radiobutton"> 
    376                                     <property name="visible">True</property> 
    377                                     <property name="label" translatable="yes">Bottom</property> 
    378                                     <property name="use_underline">True</property> 
    379                                     <property name="response_id">0</property> 
    380                                     <property name="active">True</property> 
    381                                     <property name="draw_indicator">True</property> 
    382                                     <signal name="toggled" handler="on_tabbottom_radiobutton_toggled"/> 
    383                                   </widget> 
    384                                   <packing> 
    385                                     <property name="top_attach">1</property> 
    386                                     <property name="bottom_attach">2</property> 
    387                                   </packing> 
    388                                 </child> 
    389                               </widget> 
    390                             </child> 
    391                           </widget> 
    392                         </child> 
    393                         <child> 
    394                           <widget class="GtkLabel" id="label19"> 
    395                             <property name="visible">True</property> 
    396                             <property name="ypad">6</property> 
    397                             <property name="label" translatable="yes">&lt;b&gt;Tab position&lt;/b&gt;</property> 
    398                             <property name="use_markup">True</property> 
    399                           </widget> 
    400                           <packing> 
    401                             <property name="type">label_item</property> 
    402                           </packing> 
    403                         </child> 
    404                       </widget> 
    405                       <packing> 
    406                         <property name="position">3</property> 
    407                       </packing> 
    408                     </child> 
    409318                  </widget> 
    410319                </child> 
     
    416325                  </widget> 
    417326                  <packing> 
     327                    <property name="tab_fill">False</property> 
    418328                    <property name="type">tab</property> 
    419                     <property name="tab_fill">False</property> 
    420329                  </packing> 
    421330                </child> 
     
    444353                                <property name="homogeneous">True</property> 
    445354                                <child> 
    446                                   <widget class="GtkColorButton" id="font-colorbutton"> 
    447                                     <property name="visible">True</property> 
    448                                     <property name="response_id">0</property> 
    449                                     <property name="title" translatable="yes">Choose some color</property> 
    450                                     <signal name="color_set" handler="on_font_colorbutton_color_set"/> 
    451                                   </widget> 
    452                                   <packing> 
    453                                     <property name="left_attach">1</property> 
    454                                     <property name="right_attach">2</property> 
    455                                     <property name="top_attach">1</property> 
    456                                     <property name="bottom_attach">2</property> 
    457                                   </packing> 
    458                                 </child> 
    459                                 <child> 
    460                                   <widget class="GtkFontButton" id="fontbutton"> 
    461                                     <property name="visible">True</property> 
    462                                     <property name="focus_on_click">False</property> 
    463                                     <property name="response_id">0</property> 
    464                                     <property name="title" translatable="yes">Choose some font</property> 
    465                                     <signal name="font_set" handler="on_fontbutton_font_set"/> 
    466                                   </widget> 
    467                                   <packing> 
    468                                     <property name="left_attach">1</property> 
    469                                     <property name="right_attach">2</property> 
    470                                   </packing> 
     355                                  <widget class="GtkLabel" id="label10"> 
     356                                    <property name="visible">True</property> 
     357                                    <property name="xalign">0</property> 
     358                                    <property name="label" translatable="yes">Style:</property> 
     359                                    <property name="use_markup">True</property> 
     360                                    <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> 
     361                                    <property name="single_line_mode">True</property> 
     362                                  </widget> 
    471363                                </child> 
    472364                                <child> 
     
    485377                                </child> 
    486378                                <child> 
    487                                   <widget class="GtkLabel" id="label10"> 
    488                                     <property name="visible">True</property> 
    489                                     <property name="xalign">0</property> 
    490                                     <property name="label" translatable="yes">Style:</property> 
    491                                     <property name="use_markup">True</property> 
    492                                     <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> 
    493                                     <property name="single_line_mode">True</property> 
    494                                   </widget> 
     379                                  <widget class="GtkFontButton" id="fontbutton"> 
     380                                    <property name="visible">True</property> 
     381                                    <property name="focus_on_click">False</property> 
     382                                    <property name="response_id">0</property> 
     383                                    <property name="title" translatable="yes">Choose some font</property> 
     384                                    <signal name="font_set" handler="on_fontbutton_font_set"/> 
     385                                  </widget> 
     386                                  <packing> 
     387                                    <property name="left_attach">1</property> 
     388                                    <property name="right_attach">2</property> 
     389                                  </packing> 
     390                                </child> 
     391                                <child> 
     392                                  <widget class="GtkColorButton" id="font-colorbutton"> 
     393                                    <property name="visible">True</property> 
     394                                    <property name="response_id">0</property> 
     395                                    <property name="title" translatable="yes">Choose some color</property> 
     396                                    <signal name="color_set" handler="on_font_colorbutton_color_set"/> 
     397                                  </widget> 
     398                                  <packing> 
     399                                    <property name="left_attach">1</property> 
     400                                    <property name="right_attach">2</property> 
     401                                    <property name="top_attach">1</property> 
     402                                    <property name="bottom_attach">2</property> 
     403                                  </packing> 
    495404                                </child> 
    496405                              </widget> 
     
    533442                                <property name="homogeneous">True</property> 
    534443                                <child> 
     444                                  <widget class="GtkLabel" id="label3"> 
     445                                    <property name="visible">True</property> 
     446                                    <property name="xalign">0</property> 
     447                                    <property name="label" translatable="yes">Color:</property> 
     448                                    <property name="use_markup">True</property> 
     449                                    <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> 
     450                                    <property name="single_line_mode">True</property> 
     451                                  </widget> 
     452                                </child> 
     453                                <child> 
     454                                  <widget class="GtkLabel" id="label4"> 
     455                                    <property name="visible">True</property> 
     456                                    <property name="xalign">0</property> 
     457                                    <property name="label" translatable="yes">Image:</property> 
     458                                    <property name="use_markup">True</property> 
     459                                    <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> 
     460                                    <property name="single_line_mode">True</property> 
     461                                  </widget> 
     462                                  <packing> 
     463                                    <property name="top_attach">1</property> 
     464                                    <property name="bottom_attach">2</property> 
     465                                  </packing> 
     466                                </child> 
     467                                <child> 
     468                                  <widget class="GtkLabel" id="label14"> 
     469                                    <property name="visible">True</property> 
     470                                    <property name="xalign">0</property> 
     471                                    <property name="label" translatable="yes">Desaturation:</property> 
     472                                    <property name="use_markup">True</property> 
     473                                    <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> 
     474                                    <property name="single_line_mode">True</property> 
     475                                  </widget> 
     476                                  <packing> 
     477                                    <property name="top_attach">2</property> 
     478                                    <property name="bottom_attach">3</property> 
     479                                  </packing> 
     480                                </child> 
     481                                <child> 
     482                                  <widget class="GtkLabel" id="label2"> 
     483                                    <property name="visible">True</property> 
     484                                    <property name="xalign">0</property> 
     485                                    <property name="label" translatable="yes">Background Transparent:</property> 
     486                                    <property name="use_markup">True</property> 
     487                                    <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> 
     488                                    <property name="single_line_mode">True</property> 
     489                                  </widget> 
     490                                  <packing> 
     491                                    <property name="top_attach">3</property> 
     492                                    <property name="bottom_attach">4</property> 
     493                                  </packing> 
     494                                </child> 
     495                                <child> 
     496                                  <widget class="GtkColorButton" id="bg-colorbutton"> 
     497                                    <property name="visible">True</property> 
     498                                    <property name="response_id">0</property> 
     499                                    <property name="title" translatable="yes">Choose some color</property> 
     500                                    <signal name="color_set" handler="on_bg_colorbutton_color_set"/> 
     501                                  </widget> 
     502                                  <packing> 
     503                                    <property name="left_attach">1</property> 
     504                                    <property name="right_attach">2</property> 
     505                                  </packing> 
     506                                </child> 
     507                                <child> 
     508                                  <widget class="GtkFileChooserButton" id="bgimage-filechooserbutton"> 
     509                                    <property name="visible">True</property> 
     510                                    <signal name="selection_changed" handler="on_bgimage_filechooserbutton_selection_changed"/> 
     511                                  </widget> 
     512                                  <packing> 
     513                                    <property name="left_attach">1</property> 
     514                                    <property name="right_attach">2</property> 
     515                                    <property name="top_attach">1</property> 
     516                                    <property name="bottom_attach">2</property> 
     517                                  </packing> 
     518                                </child> 
     519                                <child> 
     520                                  <widget class="GtkHScale" id="transparency-hscale"> 
     521                                    <property name="visible">True</property> 
     522                                    <property name="can_focus">True</property> 
     523                                    <property name="adjustment">0 0 100 1 10 10</property> 
     524                                    <property name="draw_value">False</property> 
     525                                    <property name="value_pos">GTK_POS_RIGHT</property> 
     526                                    <signal name="value_changed" handler="on_transparency_hscale_value_changed"/> 
     527                                  </widget> 
     528                                  <packing> 
     529                                    <property name="left_attach">1</property> 
     530                                    <property name="right_attach">2</property> 
     531                                    <property name="top_attach">2</property> 
     532                                    <property name="bottom_attach">3</property> 
     533                                  </packing> 
     534                                </child> 
     535                                <child> 
    535536                                  <widget class="GtkCheckButton" id="chk_bg_transparent"> 
    536537                                    <property name="visible">True</property> 
     
    551552                                  </packing> 
    552553                                </child> 
    553                                 <child> 
    554                                   <widget class="GtkHScale" id="transparency-hscale"> 
    555                                     <property name="visible">True</property> 
    556                                     <property name="can_focus">True</property> 
    557                                     <property name="adjustment">0 0 100 1 10 10</property> 
    558                                     <property name="draw_value">False</property> 
    559                                     <property name="value_pos">GTK_POS_RIGHT</property> 
    560                                     <signal name="value_changed" handler="on_transparency_hscale_value_changed"/> 
    561                                   </widget> 
    562                                   <packing> 
    563                                     <property name="left_attach">1</property> 
    564                                     <property name="right_attach">2</property> 
    565                                     <property name="top_attach">2</property> 
    566                                     <property name="bottom_attach">3</property> 
    567                                   </packing> 
    568                                 </child> 
    569                                 <child> 
    570                                   <widget class="GtkFileChooserButton" id="bgimage-filechooserbutton"> 
    571                                     <property name="visible">True</property> 
    572                                     <signal name="selection_changed" handler="on_bgimage_filechooserbutton_selection_changed"/> 
    573                                   </widget> 
    574                                   <packing> 
    575                                     <property name="left_attach">1</property> 
    576                                     <property name="right_attach">2</property> 
    577                                     <property name="top_attach">1</property> 
    578                                     <property name="bottom_attach">2</property> 
    579                                   </packing> 
    580                                 </child> 
    581                                 <child> 
    582                                   <widget class="GtkColorButton" id="bg-colorbutton"> 
    583                                     <property name="visible">True</property> 
    584                                     <property name="response_id">0</property> 
    585                                     <property name="title" translatable="yes">Choose some color</property> 
    586                                     <signal name="color_set" handler="on_bg_colorbutton_color_set"/> 
    587                                   </widget> 
    588                                   <packing> 
    589                                     <property name="left_attach">1</property> 
    590                                     <property name="right_attach">2</property> 
    591                                   </packing> 
    592                                 </child> 
    593                                 <child> 
    594                                   <widget class="GtkLabel" id="label2"> 
    595                                     <property name="visible">True</property> 
    596                                     <property name="xalign">0</property> 
    597                                     <property name="label" translatable="yes">Background Transparent:</property> 
    598                                     <property name="use_markup">True</property> 
    599                                     <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> 
    600                                     <property name="single_line_mode">True</property> 
    601                                   </widget> 
    602                                   <packing> 
    603                                     <property name="top_attach">3</property> 
    604                                     <property name="bottom_attach">4</property> 
    605                                   </packing> 
    606                                 </child> 
    607                                 <child> 
    608                                   <widget class="GtkLabel" id="label14"> 
    609                                     <property name="visible">True</property> 
    610                                     <property name="xalign">0</property> 
    611                                     <property name="label" translatable="yes">Desaturation:</property> 
    612                                     <property name="use_markup">True</property> 
    613                                     <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> 
    614                                     <property name="single_line_mode">True</property> 
    615                                   </widget> 
    616                                   <packing> 
    617                                     <property name="top_attach">2</property> 
    618                                     <property name="bottom_attach">3</property> 
    619                                   </packing> 
    620                                 </child> 
    621                                 <child> 
    622                                   <widget class="GtkLabel" id="label4"> 
    623                                     <property name="visible">True</property> 
    624                                     <property name="xalign">0</property> 
    625                                     <property name="label" translatable="yes">Image:</property> 
    626                                     <property name="use_markup">True</property> 
    627                                     <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> 
    628                                     <property name="single_line_mode">True</property> 
    629                                   </widget> 
    630                                   <packing> 
    631                                     <property name="top_attach">1</property> 
    632                                     <property name="bottom_attach">2</property> 
    633                                   </packing> 
    634                                 </child> 
    635                                 <child> 
    636                                   <widget class="GtkLabel" id="label3"> 
    637                                     <property name="visible">True</property> 
    638                                     <property name="xalign">0</property> 
    639                                     <property name="label" translatable="yes">Color:</property> 
    640                                     <property name="use_markup">True</property> 
    641                                     <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> 
    642                                     <property name="single_line_mode">True</property> 
    643                                   </widget> 
    644                                 </child> 
    645554                              </widget> 
    646555                            </child> 
     
    676585                  </widget> 
    677586                  <packing> 
    678                     <property name="type">tab</property> 
    679587                    <property name="position">1</property> 
    680588                    <property name="tab_fill">False</property> 
     589                    <property name="type">tab</property> 
    681590                  </packing> 
    682591                </child> 
     
    712621                  </widget> 
    713622                  <packing> 
    714                     <property name="type">tab</property> 
    715623                    <property name="position">2</property> 
    716624                    <property name="tab_fill">False</property> 
     625                    <property name="type">tab</property> 
    717626                  </packing> 
    718627                </child> 
     
    752661                                <property name="row_spacing">6</property> 
    753662                                <child> 
     663                                  <widget class="GtkComboBox" id="delete-binding-combobox"> 
     664                                    <property name="visible">True</property> 
     665                                    <property name="items" translatable="yes">ASCII DEL 
     666Escape sequence 
     667Control-H</property> 
     668                                    <signal name="changed" handler="on_delete_binding_combobox_changed"/> 
     669                                  </widget> 
     670                                  <packing> 
     671                                    <property name="left_attach">1</property> 
     672                                    <property name="right_attach">3</property> 
     673                                    <property name="top_attach">1</property> 
     674                                    <property name="bottom_attach">2</property> 
     675                                    <property name="y_options">GTK_FILL</property> 
     676                                  </packing> 
     677                                </child> 
     678                                <child> 
     679                                  <widget class="GtkComboBox" id="backspace-binding-combobox"> 
     680                                    <property name="visible">True</property> 
     681                                    <property name="items" translatable="yes">ASCII DEL 
     682Escape sequence 
     683Control-H</property> 
     684                                    <signal name="changed" handler="on_backspace_binding_combobox_changed"/> 
     685                                  </widget> 
     686                                  <packing> 
     687                                    <property name="left_attach">1</property> 
     688                                    <property name="right_attach">3</property> 
     689                                    <property name="y_options">GTK_FILL</property> 
     690                                  </packing> 
     691                                </child> 
     692                                <child> 
     693                                  <widget class="GtkLabel" id="backspace-binding-combobox-label"> 
     694                                    <property name="visible">True</property> 
     695                                    <property name="xalign">0</property> 
     696                                    <property name="label" translatable="yes">_Backspace key generates:</property> 
     697                                    <property name="use_underline">True</property> 
     698                                    <property name="justify">GTK_JUSTIFY_CENTER</property> 
     699                                    <property name="mnemonic_widget">backspace-binding-combobox</property> 
     700                                  </widget> 
     701                                  <packing> 
     702                                    <property name="x_options">GTK_FILL</property> 
     703                                    <property name="y_options"></property> 
     704                                  </packing> 
     705                                </child> 
     706                                <child> 
    754707                                  <widget class="GtkLabel" id="delete-binding-combobox-label"> 
    755708                                    <property name="visible">True</property> 
     
    765718                                    <property name="x_options">GTK_FILL</property> 
    766719                                    <property name="y_options"></property> 
    767                                   </packing> 
    768                                 </child> 
    769                                 <child> 
    770                                   <widget class="GtkLabel" id="backspace-binding-combobox-label"> 
    771                                     <property name="visible">True</property> 
    772                                     <property name="xalign">0</property> 
    773                                     <property name="label" translatable="yes">_Backspace key generates:</property> 
    774                                     <property name="use_underline">True</property> 
    775                                     <property name="justify">GTK_JUSTIFY_CENTER</property> 
    776                                     <property name="mnemonic_widget">backspace-binding-combobox</property> 
    777                                   </widget> 
    778                                   <packing> 
    779                                     <property name="x_options">GTK_FILL</property> 
    780                                     <property name="y_options"></property> 
    781                                   </packing> 
    782                                 </child> 
    783                                 <child> 
    784                                   <widget class="GtkComboBox" id="backspace-binding-combobox"> 
    785                                     <property name="visible">True</property> 
    786                                     <property name="items" translatable="yes">ASCII DEL 
    787 Escape sequence 
    788 Control-H</property> 
    789                                     <signal name="changed" handler="on_backspace_binding_combobox_changed"/> 
    790                                   </widget> 
    791                                   <packing> 
    792                                     <property name="left_attach">1</property> 
    793                                     <property name="right_attach">3</property> 
    794                                     <property name="y_options">GTK_FILL</property> 
    795                                   </packing> 
    796                                 </child> 
    797                                 <child> 
    798                                   <widget class="GtkComboBox" id="delete-binding-combobox"> 
    799                                     <property name="visible">True</property> 
    800                                     <property name="items" translatable="yes">ASCII DEL 
    801 Escape sequence 
    802 Control-H</property> 
    803                                     <signal name="changed" handler="on_delete_binding_combobox_changed"/> 
    804                                   </widget> 
    805                                   <packing> 
    806                                     <property name="left_attach">1</property> 
    807                                     <property name="right_attach">3</property> 
    808                                     <property name="top_attach">1</property> 
    809                                     <property name="bottom_attach">2</property> 
    810                                     <property name="y_options">GTK_FILL</property> 
    811720                                  </packing> 
    812721                                </child> 
     
    866775                  </widget> 
    867776                  <packing> 
    868                     <property name="type">tab</property> 
    869777                    <property name="position">3</property> 
    870778                    <property name="tab_fill">False</property> 
     779                    <property name="type">tab</property> 
    871780                  </packing> 
    872781                </child> 
  • src/guake.py

    r9b24711 rf900ed0  
    327327        self.set_bgimage() 
    328328        self.set_alpha() 
    329         self.set_tabpos() 
    330329        self.set_erasebindings() 
    331330 
     
    477476            i.set_background_saturation(alpha / 100.0) 
    478477 
    479     def set_tabpos(self): 
    480         pos = self.client.get_string(GCONF_PATH+'general/tabpos') 
    481         if pos == 'bottom': 
    482             self.mainframe.reorder_child(self.notebook, 0) 
    483             self.notebook.set_tab_pos(gtk.POS_BOTTOM) 
    484         else: 
    485             self.mainframe.reorder_child(self.notebook, 1) 
    486             self.notebook.set_tab_pos(gtk.POS_TOP) 
    487  
    488478    def set_erasebindings(self): 
    489479        backspace = self.client.get_string(GCONF_PATH+'general/compat_backspace') 
  • src/prefs.py

    r9b24711 rf900ed0  
    8585        ipath = pixmapfile('guake-notification.png') 
    8686        self.get_widget('image_logo').set_from_file(ipath) 
    87         ipath = pixmapfile('tabdown.svg') 
    88         self.get_widget('image1').set_from_file(ipath) 
    89         ipath = pixmapfile('tabup.svg') 
    90         self.get_widget('image2').set_from_file(ipath) 
    9187 
    9288        # the first position in tree will store the keybinding path in gconf, 
     
    198194        val = float(self.client.get_int(GCONF_PATH + 'general/window_size')) 
    199195        self.get_widget('winsize-hscale').set_value(val) 
    200  
    201         # tab pos 
    202         val = self.client.get_string(GCONF_PATH + 'general/tabpos') 
    203         if val == 'bottom': 
    204             self.get_widget('tabbottom-radiobutton').set_active(True) 
    205         else: 
    206             self.get_widget('tabtop-radiobutton').set_active(True) 
    207196 
    208197        # font 
     
    335324        self.client.set_int(GCONF_PATH + 'general/window_size', int(val)) 
    336325        self.guake.resize(*self.guake.get_final_window_size()) 
    337  
    338     def on_tabbottom_radiobutton_toggled(self, bnt): 
    339         st = bnt.get_active() and 'bottom' or 'top' 
    340         self.client.set_string(GCONF_PATH + 'general/tabpos', st) 
    341         self.guake.set_tabpos() 
    342          
    343     def on_tabtop_radiobutton_toggled(self, bnt): 
    344         st = bnt.get_active() and 'top' or 'bottom' 
    345         self.client.set_string(GCONF_PATH + 'general/tabpos', st) 
    346         self.guake.set_tabpos() 
    347326 
    348327    def on_fontbutton_font_set(self, fb):