/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to olive.glade

  • Committer: Vincent Ladeuil
  • Date: 2008-05-05 18:16:46 UTC
  • mto: (487.1.1 gtk)
  • mto: This revision was merged to the branch mainline in revision 490.
  • Revision ID: v.ladeuil+lp@free.fr-20080505181646-n95l8ltw2u6jtr26
Fix bug #187283 fix replacing _() by _i18n().

* genpot.sh 
Remove duplication. Add the ability to specify the genrated pot
file on command-line for debugging purposes.

* po/olive-gtk.pot:
Regenerated.

* __init__.py, branch.py, branchview/treeview.py, checkout.py,
commit.py, conflicts.py, diff.py, errors.py, initialize.py,
merge.py, nautilus-bzr.py, olive/__init__.py, olive/add.py,
olive/bookmark.py, olive/guifiles.py, olive/info.py,
olive/menu.py, olive/mkdir.py, olive/move.py, olive/remove.py,
olive/rename.py, push.py, revbrowser.py, status.py, tags.py:
Replace all calls to _() by calls to _i18n(), the latter being
defined in __init__.py and imported in the other modules from
there. This fix the problem encountered countless times when
running bzr selftest and getting silly error messages about
boolean not being callables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
                      </widget>
59
59
                    </child>
60
60
                    <child>
 
61
                      <widget class="GtkMenuItem" id="menuitem_file_bookmark">
 
62
                        <property name="visible">True</property>
 
63
                        <property name="label" translatable="yes">_Bookmark current directory</property>
 
64
                        <property name="use_underline">True</property>
 
65
                        <signal name="activate" handler="on_menuitem_file_bookmark_activate"/>
 
66
                      </widget>
 
67
                    </child>
 
68
                    <child>
61
69
                      <widget class="GtkMenuItem" id="menuitem_file_make_directory">
62
70
                        <property name="visible">True</property>
63
71
                        <property name="label" translatable="yes">Make _directory...</property>
378
386
        <child>
379
387
          <widget class="GtkToolbar" id="toolbar">
380
388
            <property name="visible">True</property>
381
 
            <property name="toolbar_style">GTK_TOOLBAR_BOTH</property>
382
389
            <child>
383
390
              <widget class="GtkToolButton" id="toolbutton_refresh">
384
391
                <property name="visible">True</property>
427
434
            <child>
428
435
              <widget class="GtkToolButton" id="toolbutton_commit">
429
436
                <property name="visible">True</property>
 
437
                <property name="is_important">True</property>
430
438
                <property name="label">Commit</property>
431
439
                <property name="use_underline">True</property>
432
440
                <property name="icon">icons/commit.png</property>
448
456
            <child>
449
457
              <widget class="GtkToolButton" id="toolbutton_pull">
450
458
                <property name="visible">True</property>
 
459
                <property name="is_important">True</property>
451
460
                <property name="label">Pull</property>
452
461
                <property name="use_underline">True</property>
453
462
                <property name="icon">icons/pull.png</property>
460
469
            <child>
461
470
              <widget class="GtkToolButton" id="toolbutton_push">
462
471
                <property name="visible">True</property>
 
472
                <property name="is_important">True</property>
463
473
                <property name="label">Push</property>
464
474
                <property name="use_underline">True</property>
465
475
                <property name="icon">icons/push.png</property>
505
515
                    <property name="can_focus">True</property>
506
516
                    <property name="headers_visible">False</property>
507
517
                    <signal name="button_press_event" handler="on_treeview_left_button_press_event"/>
 
518
                    <signal name="button_release_event" handler="on_treeview_left_button_release_event"/>
508
519
                    <signal name="row_activated" handler="on_treeview_left_row_activated"/>
509
520
                  </widget>
510
521
                </child>