Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 288753
Collapse All | Expand All

(-)orig/gnome-panel-2.28.0/gnome-panel/panel-menu-button.c (-1 / +7 lines)
Lines 635-640 Link Here
635
			gboolean     locked,
635
			gboolean     locked,
636
			int          position,
636
			int          position,
637
			gboolean     exactpos,
637
			gboolean     exactpos,
638
			gboolean     has_arrow,
638
			const char  *id)
639
			const char  *id)
639
{
640
{
640
	PanelMenuButton *button;
641
	PanelMenuButton *button;
Lines 648-654 Link Here
648
			       "tooltip", tooltip,
649
			       "tooltip", tooltip,
649
			       "use-menu-path", use_menu_path,
650
			       "use-menu-path", use_menu_path,
650
			       "use-custom-icon", use_custom_icon,
651
			       "use-custom-icon", use_custom_icon,
651
			       "has-arrow", TRUE,
652
			       "has-arrow", has_arrow,
652
			       NULL);
653
			       NULL);
653
654
654
	info = panel_applet_register (GTK_WIDGET (button), NULL, NULL,
655
	info = panel_applet_register (GTK_WIDGET (button), NULL, NULL,
Lines 876-881 Link Here
876
	char        *tooltip;
877
	char        *tooltip;
877
	gboolean     use_menu_path;
878
	gboolean     use_menu_path;
878
	gboolean     use_custom_icon;
879
	gboolean     use_custom_icon;
880
	gboolean     has_arrow;
879
881
880
	client  = panel_gconf_get_client ();
882
	client  = panel_gconf_get_client ();
881
883
Lines 894-899 Link Here
894
	key = panel_gconf_full_key (PANEL_GCONF_OBJECTS, id, "use_custom_icon");
896
	key = panel_gconf_full_key (PANEL_GCONF_OBJECTS, id, "use_custom_icon");
895
	use_custom_icon = gconf_client_get_bool (client, key, NULL);
897
	use_custom_icon = gconf_client_get_bool (client, key, NULL);
896
898
899
	key = panel_gconf_full_key (PANEL_GCONF_OBJECTS, id, "has_arrow");
900
	has_arrow = gconf_client_get_bool (client, key, NULL);
901
	
897
	panel_menu_button_load (menu_path,
902
	panel_menu_button_load (menu_path,
898
				use_menu_path,
903
				use_menu_path,
899
				custom_icon,
904
				custom_icon,
Lines 903-908 Link Here
903
				locked,
908
				locked,
904
				position,
909
				position,
905
				exactpos,
910
				exactpos,
911
				has_arrow,
906
				id);
912
				id);
907
913
908
	g_free (menu_path);
914
	g_free (menu_path);
(-)orig/gnome-panel-2.28.0/gnome-panel/panel-object.schemas.in (+14 lines)
Lines 176-181 Link Here
176
        </long>
176
        </long>
177
      </locale>
177
      </locale>
178
    </schema>
178
    </schema>
179
    
180
    <schema>
181
      <key>/schemas/apps/panel/objects/has_arrow</key>
182
      <owner>panel</owner>
183
      <type>bool</type>
184
      <default>true</default>
185
      <locale name="C">
186
        <short>Draw ugly arrow in menu button</short>
187
        <long>
188
          If true, ugly arrow is at menu button. If false, main
189
	  menu has clean look.
190
        </long>
191
      </locale>
192
    </schema>
179
193
180
    <schema>
194
    <schema>
181
      <key>/schemas/apps/panel/objects/menu_path</key>
195
      <key>/schemas/apps/panel/objects/menu_path</key>

Return to bug 288753