Commit c80d53eec852ff970534b76871ff37f445020c8e

Authored by Perry Werneck
1 parent 7d98395e

Adjusting user interface.

schemas/linux/window.gschema.xml.in
... ... @@ -111,7 +111,7 @@
111 111 </key>
112 112  
113 113 <key name="header-action-names" type="s">
114   - <default>'app.new.tab:menu.open-menu,win.disconnect,win.reconnect'</default>
  114 + <default>'app.tab.new:menu.open-menu,win.disconnect,win.reconnect'</default>
115 115 <summary>The title bar action list</summary>
116 116 <description></description>
117 117 </key>
... ...
src/objects/application/actions/window.c
... ... @@ -63,7 +63,7 @@ GAction * pw3270_quit_action_new() {
63 63 action->name = "quit";
64 64 action->label = _( "Quit" );
65 65 action->tooltip = _( "Close all windows and exit application" );
66   - action->icon_name = "gtk-quit";
  66 + action->icon_name = "application-exit";
67 67 action->activate = quit_activated;
68 68  
69 69 return G_ACTION(action);
... ... @@ -80,7 +80,7 @@ GAction * pw3270_new_tab_action_new() {
80 80  
81 81 PW3270Action * action = pw3270_action_new();
82 82  
83   - action->name = "new.tab";
  83 + action->name = "tab.new";
84 84 action->label = _( "New tab" );
85 85 action->tooltip = _( "New tab with default session" );
86 86 action->icon_name = "tab-new";
... ... @@ -100,7 +100,7 @@ GAction * pw3270_new_window_action_new() {
100 100  
101 101 PW3270Action * action = pw3270_action_new();
102 102  
103   - action->name = "new.window";
  103 + action->name = "window.new";
104 104 action->label = _( "New window" );
105 105 action->tooltip = _( "New window with default session" );
106 106 action->icon_name = "window-new";
... ...
ui/application.xml
... ... @@ -103,7 +103,7 @@
103 103  
104 104 <item>
105 105 <attribute name="label" translatable="yes">Window with default session</attribute>
106   - <attribute name="action">app.new.window</attribute>
  106 + <attribute name="action">app.window.new</attribute>
107 107 </item>
108 108  
109 109 <item>
... ...
ui/window.xml
... ... @@ -38,7 +38,7 @@
38 38  
39 39 <item>
40 40 <attribute name="label" translatable="yes">Window with default session</attribute>
41   - <attribute name="action">app.new.window</attribute>
  41 + <attribute name="action">app.window.new</attribute>
42 42 </item>
43 43  
44 44 <item>
... ...