1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Peer Sommerlund  committed 67fc684

thgconfig: Let dialog icon show scope

The configuration dialog now uses two icons instead of one,
so the user can look at the dialog icon and determine if
it is user settings or repo settings that are modified.

The icon for user settings shows a green man
The icon for repo settings shows a yellow barrel

  • Participants
  • Parent commits 1625a49
  • Branches default

Comments (0)

Files changed (3)

File hggtk/thgconfig.py

View file
  • Ignore whitespace
             name = repo.ui.config('web', 'name') or os.path.basename(repo.root)
             self.rcpath = [os.sep.join([repo.root, '.hg', 'hgrc'])]
             self.set_title('TortoiseHg Configure Repository - ' + name)
+            shlib.set_tortoise_icon(self, 'settings_repo.ico')
             self.root = repo.root
         else:
             self.rcpath = util.user_rcpath()
             self.set_title('TortoiseHg Configure User-Global Settings')
+            shlib.set_tortoise_icon(self, 'settings_user.ico')
             self.root = None
 
-        shlib.set_tortoise_icon(self, 'menusettings.ico')
         self.ini = self.load_config(self.rcpath)
 
         # Create a new notebook, place the position of the tabs

File icons/tortoise/settings_repo.ico

  • Ignore whitespace
Added
New image

File icons/tortoise/settings_user.ico

  • Ignore whitespace
Added
New image