/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: Szilveszter Farkas (Phanatic)
  • Date: 2006-08-09 13:15:41 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060809131541-cd4eba8e228f2b60
Implemented Make directory functionality; some cleanups.

2006-08-09  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * olive/backend/fileops.py: added NotBranchError support to mkdir()
    * olive/frontend/gtk/mkdir.py: implemented OliveMkdir
    * olive/frontend/gtk/handler.py: added Make directory signal handler

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
                      <signal name="activate" handler="on_menuitem_add_files_activate" last_modification_time="Fri, 21 Jul 2006 11:38:39 GMT"/>
53
53
 
54
54
                      <child internal-child="image">
55
 
                        <widget class="GtkImage" id="image136">
 
55
                        <widget class="GtkImage" id="image144">
56
56
                          <property name="visible">True</property>
57
57
                          <property name="stock">gtk-add</property>
58
58
                          <property name="icon_size">1</property>
73
73
                      <signal name="activate" handler="on_menuitem_remove_file_activate" last_modification_time="Fri, 21 Jul 2006 13:54:07 GMT"/>
74
74
 
75
75
                      <child internal-child="image">
76
 
                        <widget class="GtkImage" id="image137">
 
76
                        <widget class="GtkImage" id="image145">
77
77
                          <property name="visible">True</property>
78
78
                          <property name="stock">gtk-remove</property>
79
79
                          <property name="icon_size">1</property>
194
194
                      <signal name="activate" handler="on_menuitem_branch_pull_activate" last_modification_time="Mon, 17 Jul 2006 08:52:48 GMT"/>
195
195
 
196
196
                      <child internal-child="image">
197
 
                        <widget class="GtkImage" id="image138">
 
197
                        <widget class="GtkImage" id="image146">
198
198
                          <property name="visible">True</property>
199
199
                          <property name="pixbuf">pull16.png</property>
200
200
                          <property name="xalign">0.5</property>
214
214
                      <signal name="activate" handler="on_menuitem_branch_push_activate" last_modification_time="Mon, 17 Jul 2006 08:52:48 GMT"/>
215
215
 
216
216
                      <child internal-child="image">
217
 
                        <widget class="GtkImage" id="image139">
 
217
                        <widget class="GtkImage" id="image147">
218
218
                          <property name="visible">True</property>
219
219
                          <property name="pixbuf">push16.png</property>
220
220
                          <property name="xalign">0.5</property>
240
240
                      <signal name="activate" handler="on_menuitem_branch_commit_activate" last_modification_time="Mon, 17 Jul 2006 08:53:37 GMT"/>
241
241
 
242
242
                      <child internal-child="image">
243
 
                        <widget class="GtkImage" id="image140">
 
243
                        <widget class="GtkImage" id="image148">
244
244
                          <property name="visible">True</property>
245
245
                          <property name="pixbuf">commit16.png</property>
246
246
                          <property name="xalign">0.5</property>
288
288
                      <signal name="activate" handler="on_menuitem_stats_diff_activate" last_modification_time="Thu, 03 Aug 2006 11:35:30 GMT"/>
289
289
 
290
290
                      <child internal-child="image">
291
 
                        <widget class="GtkImage" id="image141">
 
291
                        <widget class="GtkImage" id="image149">
292
292
                          <property name="visible">True</property>
293
293
                          <property name="pixbuf">diff16.png</property>
294
294
                          <property name="xalign">0.5</property>
308
308
                      <signal name="activate" handler="on_menuitem_stats_log_activate" last_modification_time="Thu, 03 Aug 2006 11:35:43 GMT"/>
309
309
 
310
310
                      <child internal-child="image">
311
 
                        <widget class="GtkImage" id="image142">
 
311
                        <widget class="GtkImage" id="image150">
312
312
                          <property name="visible">True</property>
313
313
                          <property name="pixbuf">log16.png</property>
314
314
                          <property name="xalign">0.5</property>
2415
2415
  </child>
2416
2416
</widget>
2417
2417
 
 
2418
<widget class="GtkWindow" id="window_mkdir">
 
2419
  <property name="visible">True</property>
 
2420
  <property name="title" translatable="yes">Olive - Make directory</property>
 
2421
  <property name="type">GTK_WINDOW_TOPLEVEL</property>
 
2422
  <property name="window_position">GTK_WIN_POS_NONE</property>
 
2423
  <property name="modal">False</property>
 
2424
  <property name="resizable">True</property>
 
2425
  <property name="destroy_with_parent">False</property>
 
2426
  <property name="icon">oliveicon2.png</property>
 
2427
  <property name="decorated">True</property>
 
2428
  <property name="skip_taskbar_hint">False</property>
 
2429
  <property name="skip_pager_hint">False</property>
 
2430
  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
 
2431
  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
 
2432
  <property name="focus_on_map">True</property>
 
2433
  <property name="urgency_hint">False</property>
 
2434
 
 
2435
  <child>
 
2436
    <widget class="GtkVBox" id="vbox_mkdir">
 
2437
      <property name="border_width">5</property>
 
2438
      <property name="visible">True</property>
 
2439
      <property name="homogeneous">False</property>
 
2440
      <property name="spacing">3</property>
 
2441
 
 
2442
      <child>
 
2443
        <widget class="GtkEntry" id="entry_mkdir">
 
2444
          <property name="visible">True</property>
 
2445
          <property name="can_focus">True</property>
 
2446
          <property name="has_focus">True</property>
 
2447
          <property name="editable">True</property>
 
2448
          <property name="visibility">True</property>
 
2449
          <property name="max_length">0</property>
 
2450
          <property name="text" translatable="yes"></property>
 
2451
          <property name="has_frame">True</property>
 
2452
          <property name="invisible_char">●</property>
 
2453
          <property name="activates_default">False</property>
 
2454
        </widget>
 
2455
        <packing>
 
2456
          <property name="padding">0</property>
 
2457
          <property name="expand">False</property>
 
2458
          <property name="fill">False</property>
 
2459
        </packing>
 
2460
      </child>
 
2461
 
 
2462
      <child>
 
2463
        <widget class="GtkCheckButton" id="checkbutton_mkdir_versioned">
 
2464
          <property name="visible">True</property>
 
2465
          <property name="can_focus">True</property>
 
2466
          <property name="label" translatable="yes">_Versioned directory</property>
 
2467
          <property name="use_underline">True</property>
 
2468
          <property name="relief">GTK_RELIEF_NORMAL</property>
 
2469
          <property name="focus_on_click">True</property>
 
2470
          <property name="active">True</property>
 
2471
          <property name="inconsistent">False</property>
 
2472
          <property name="draw_indicator">True</property>
 
2473
        </widget>
 
2474
        <packing>
 
2475
          <property name="padding">0</property>
 
2476
          <property name="expand">False</property>
 
2477
          <property name="fill">False</property>
 
2478
        </packing>
 
2479
      </child>
 
2480
 
 
2481
      <child>
 
2482
        <widget class="GtkHButtonBox" id="hbuttonbox_mkdir">
 
2483
          <property name="visible">True</property>
 
2484
          <property name="layout_style">GTK_BUTTONBOX_SPREAD</property>
 
2485
          <property name="spacing">3</property>
 
2486
 
 
2487
          <child>
 
2488
            <widget class="GtkButton" id="button_mkdir_mkdir">
 
2489
              <property name="visible">True</property>
 
2490
              <property name="can_default">True</property>
 
2491
              <property name="can_focus">True</property>
 
2492
              <property name="relief">GTK_RELIEF_NORMAL</property>
 
2493
              <property name="focus_on_click">True</property>
 
2494
              <signal name="clicked" handler="on_button_mkdir_mkdir_clicked" last_modification_time="Wed, 09 Aug 2006 12:33:54 GMT"/>
 
2495
 
 
2496
              <child>
 
2497
                <widget class="GtkAlignment" id="alignment8">
 
2498
                  <property name="visible">True</property>
 
2499
                  <property name="xalign">0.5</property>
 
2500
                  <property name="yalign">0.5</property>
 
2501
                  <property name="xscale">0</property>
 
2502
                  <property name="yscale">0</property>
 
2503
                  <property name="top_padding">0</property>
 
2504
                  <property name="bottom_padding">0</property>
 
2505
                  <property name="left_padding">0</property>
 
2506
                  <property name="right_padding">0</property>
 
2507
 
 
2508
                  <child>
 
2509
                    <widget class="GtkHBox" id="hbox10">
 
2510
                      <property name="visible">True</property>
 
2511
                      <property name="homogeneous">False</property>
 
2512
                      <property name="spacing">2</property>
 
2513
 
 
2514
                      <child>
 
2515
                        <widget class="GtkImage" id="image143">
 
2516
                          <property name="visible">True</property>
 
2517
                          <property name="stock">gtk-add</property>
 
2518
                          <property name="icon_size">4</property>
 
2519
                          <property name="xalign">0.5</property>
 
2520
                          <property name="yalign">0.5</property>
 
2521
                          <property name="xpad">0</property>
 
2522
                          <property name="ypad">0</property>
 
2523
                        </widget>
 
2524
                        <packing>
 
2525
                          <property name="padding">0</property>
 
2526
                          <property name="expand">False</property>
 
2527
                          <property name="fill">False</property>
 
2528
                        </packing>
 
2529
                      </child>
 
2530
 
 
2531
                      <child>
 
2532
                        <widget class="GtkLabel" id="label17">
 
2533
                          <property name="visible">True</property>
 
2534
                          <property name="label" translatable="yes">_Make directory</property>
 
2535
                          <property name="use_underline">True</property>
 
2536
                          <property name="use_markup">False</property>
 
2537
                          <property name="justify">GTK_JUSTIFY_LEFT</property>
 
2538
                          <property name="wrap">False</property>
 
2539
                          <property name="selectable">False</property>
 
2540
                          <property name="xalign">0.5</property>
 
2541
                          <property name="yalign">0.5</property>
 
2542
                          <property name="xpad">0</property>
 
2543
                          <property name="ypad">0</property>
 
2544
                          <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
 
2545
                          <property name="width_chars">-1</property>
 
2546
                          <property name="single_line_mode">False</property>
 
2547
                          <property name="angle">0</property>
 
2548
                        </widget>
 
2549
                        <packing>
 
2550
                          <property name="padding">0</property>
 
2551
                          <property name="expand">False</property>
 
2552
                          <property name="fill">False</property>
 
2553
                        </packing>
 
2554
                      </child>
 
2555
                    </widget>
 
2556
                  </child>
 
2557
                </widget>
 
2558
              </child>
 
2559
            </widget>
 
2560
          </child>
 
2561
 
 
2562
          <child>
 
2563
            <widget class="GtkButton" id="button_mkdir_cancel">
 
2564
              <property name="visible">True</property>
 
2565
              <property name="can_default">True</property>
 
2566
              <property name="can_focus">True</property>
 
2567
              <property name="label">gtk-cancel</property>
 
2568
              <property name="use_stock">True</property>
 
2569
              <property name="relief">GTK_RELIEF_NORMAL</property>
 
2570
              <property name="focus_on_click">True</property>
 
2571
              <signal name="clicked" handler="on_button_mkdir_cancel_clicked" last_modification_time="Wed, 09 Aug 2006 12:33:49 GMT"/>
 
2572
            </widget>
 
2573
          </child>
 
2574
        </widget>
 
2575
        <packing>
 
2576
          <property name="padding">0</property>
 
2577
          <property name="expand">False</property>
 
2578
          <property name="fill">False</property>
 
2579
        </packing>
 
2580
      </child>
 
2581
    </widget>
 
2582
  </child>
 
2583
</widget>
 
2584
 
2418
2585
</glade-interface>