Opened 7 years ago

Last modified 6 years ago

#4387 new enhancement

Style text handles context palette

Reported by: manuq Owned by: erikos
Priority: Normal Milestone: 0.102.0
Component: Sugar Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: New

Description

  • Make black the menu little arrow that points to the current position
  • Set text + icons for that widget

Attachments (8)

0001-Add-edit-cut-icon-SL-4387.patch (2.9 KB) - added by manuq 7 years ago.
Patch for edit-cut
menuicons.png (4.1 KB) - added by manuq 7 years ago.
Screenshot of proposed edit-cut icon.
0001-Add-edit-cut-icon-SL-4387.2.patch (2.5 KB) - added by manuq 7 years ago.
Proposal B for edit-cut
menuicons2.png (3.8 KB) - added by manuq 7 years ago.
Screenshot of proposal B for edit-cut icon.
0002-Make-GtkBubbleWindow-use-the-same-style-as-palettes-.patch (1.0 KB) - added by manuq 7 years ago.
Style GtkBubbleWindow.
menuicons.2.png (4.1 KB) - added by garycmartin 7 years ago.
Additional cut icon variation using scisors
menuicons_edit_cut_scisors.png (8.2 KB) - added by garycmartin 7 years ago.
(ignore previous attachment) Additional cut icon variation using scisors
0001-Make-GtkBubbleWindow-use-the-same-style-as-palettes-.patch (1.2 KB) - added by manuq 7 years ago.

Download all attachments as: .zip

Change History (13)

Changed 7 years ago by manuq

Patch for edit-cut

Changed 7 years ago by manuq

Screenshot of proposed edit-cut icon.

Changed 7 years ago by manuq

Proposal B for edit-cut

Changed 7 years ago by manuq

Screenshot of proposal B for edit-cut icon.

Changed 7 years ago by manuq

Style GtkBubbleWindow.

comment:1 Changed 7 years ago by manuq

The above patch will paint the tail of the context menu black, and add a border around. A 1px border will be in available in the patch Carlos sent upstream.

Having the text + icons is more difficult. Inside the bubble we have a toolbar, and we need to set its toolbar-style property to GTK_TOOLBAR_BOTH_HORIZ. But this doesn't seem possible from Python. There is a global setting too, but in the theme settings.ini we set it to GTK_TOOLBAR_ICONS, as all other toolbars in Sugar have icons only.

comment:2 Changed 7 years ago by manuq

Also the toolbar actions need to be marked as "is_important". Carlos has a new patch for this too.

http://git.gnome.org/browse/gtk+/commit/?id=6c83c38687afb4f443c6c381d8a5a30104ee0731

Changed 7 years ago by garycmartin

Additional cut icon variation using scisors

Changed 7 years ago by garycmartin

(ignore previous attachment) Additional cut icon variation using scisors

comment:3 Changed 6 years ago by dnarvaez

  • Component changed from sugar-artwork to Sugar
  • Owner changed from manuq to erikos

comment:4 Changed 6 years ago by dnarvaez

  • Milestone changed from 1.0 to Unspecified

comment:5 Changed 6 years ago by mystery828

  • Bug Status changed from Unconfirmed to New
  • Milestone changed from Unspecified to 0.102.0
  • Priority changed from Unspecified by Maintainer to Normal
  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.